Secret iPad web framework for native-like UI discovered | iLounge News

2014 iPad iPhone iPod Buyers' Guide from iLounge.com

News

Secret iPad web framework for native-like UI discovered

Author's pic

By Jesse Hollington

Social Media & Software Editor, iLounge
Published: Wednesday, April 7, 2010
News Categories: iPad

Done21 reports that they have discovered a new web-based framework being used by Apple on the iPad’s mobile version of Safari. First noticed when navigating to Apple’s online iPad User Guide, the framework provides a split-screen view with separately scrolling panes and a user experience similar to that of a native iPad app. Jim Hoskins of Done21 noted that the app provides a UI that shouldn’t be possible in Mobile Safari by presenting scrolling panes that can be manipulated with a single finger, complete with scroll bars. Hoskins investigated further, extracting the JavaScript and examining the code to discover that Apple had actually built an entire framework for the web application, manually reading touch events and calculating scrolling inertia. Even more interesting is that the framework, weighing in at 4,300 lines of code, was built entirely in standard web technologies: HTML, CSS and JavaScript. Hoskins dubbed the framework “AdLib” based on the prefix of the JavaScript file containing it. At this time there is no developer documentation available for this framework online or in the code itself and it appears to have been developed specifically for Apple’s own use on the iPad. The help pages for Apple’s iWork applications also provide the same user interface within the iPad Safari browser. It is unclear whether Apple has any plans to release this framework for third-party developer use. [via Mac Rumors]

« Live coverage of iPhone OS 4 event: Thursday 10am Pacific

Capcom announces Dark Void Zero for iPhone »

Related Stories

Comments

If you have a comment, news tip, advertising inquiry, or coverage request, a question about iPods/iPhones/iPad or accessories, or if you sell or market iPod/iPhone/iPad products or services, read iLounge's Comments + Questions policies before posting, and fully identify yourself if you do. We will delete comments containing advertising, astroturfing, trolling, personal attacks, offensive language, or other objectionable content, then ban and/or publicly identify violators.

Commenting is not available in this section entry.

Email:

Recent News

Recent Reviews

Recent Articles

Shop for Accessories: Cases, speakers, chargers, etc.