News
Secret iPad web framework for native-like UI discovered
By Jesse Hollington
Applications Editor, iLounge (Google+)
Published: Wednesday, April 7, 2010
News Category: 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]
Related Stories
- Pulp adds iCloud sync, new Home Page
- Third-gen iPad to launch in Guam, Philippines May 29
- Panic releases Diet Coda
- Tweetbot adds Nearby tweets, Keyword mute filters + more
- Third-gen iPad shipping times drop to 1-3 days
- Infinity Blade II: Vault of Tears update released
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.
Recent News
- Pulp adds iCloud sync, new Home Page
- WordPress for iOS adds Push Notifications
- Sony launches Music Unlimited for iOS
- Apple device poll ends, computing poll begins
- Fruit Ninja adds new features and power-ups
- Apple to sell Nest Learning Thermostat
- Third-gen iPad to launch in Guam, Philippines May 29
- Apple tweaks App Store with Editors’ Choice, Free picks
- Panic releases Diet Coda
- Booq rolls out new Folio for iPad
Recent Reviews
- Pelican i1075 Hardback Case for iPad
- Skinit Skins for iPad (3rd-Generation)
- Spigen SGP Steinheil Ultra Optics Screen Protector for iPad (3rd-Gen)
- ZeroChroma VarioProtect for iPhone 4/4S
- BodyGuardz UltraTough Clear Skins for iPad (3rd-Gen)
- Wrapsol Original + Ultra Hybrid Protective Film for iPad 2/iPad (3rd-Gen)
- iBattz Mojo Removable Power Card Wallet
- dreamGEAR i.Sound Power View Pro S 2.1A Dual Charging Dock
- dreamGEAR i.Sound Universal Power View
- Sena Cases Florence Portfolio for iPad (3rd-Gen)
Recent Articles
- Removing music from iTunes after copying to iPod
- iOS Gems: Farm 123, Facebook Camera, Scribblenauts, Shoot the Zombirds + Virtua Tennis Challenge
- iTunes TV show size totals don’t match actual disk storage
- Consolidating Multiple iTunes Libraries
- Converting Purchased Videos to 1080p HD
- Find My Friends always reports home location
- Creating an iTunes Match library from an external hard drive
- Benefits of keeping apps in iTunes when using iCloud
- Recovering iTunes from an External Hard Drive
- Normalizing volume levels for Voice Memos

