Apple has been developing a PastryKit framework which provides Web Apps with a Native App feel.
John Gruber from Daring Fireball noticed that the iPhone User Guide performed and looked very similar to native application. That's because it uses the PastryKit framework in development by Apple.
The framework:
- Completely hides the address bar, even when running not from a saved-to-the-home app icon, but within a page in MobileSafari itself.
- Allows for fixed-position toolbars that never budge from the top when you scroll.
- And: sets its own scrolling friction coefficient, allowing you to fling long lists.
After installing the User Guide app to your home screen and launching it from there, there's really very little to suggest that it isn't a native iPhone application. No MobileSafari address bar at the top, no MobileSafari toolbar at the bottom. Scrolling is fast and has momentum. It even works perfectly offline, because the contents of the user guide are stored locally in a database using HTML5.
It's unclear whether PastryKit is something Apple intends to make public. Technically, any of these features could be accomplished by a very advanced coder; however, going to all this trouble to create the framework for internal use only seems like a waste of resources.
Read More
John Gruber from Daring Fireball noticed that the iPhone User Guide performed and looked very similar to native application. That's because it uses the PastryKit framework in development by Apple.
The framework:
- Completely hides the address bar, even when running not from a saved-to-the-home app icon, but within a page in MobileSafari itself.
- Allows for fixed-position toolbars that never budge from the top when you scroll.
- And: sets its own scrolling friction coefficient, allowing you to fling long lists.
After installing the User Guide app to your home screen and launching it from there, there's really very little to suggest that it isn't a native iPhone application. No MobileSafari address bar at the top, no MobileSafari toolbar at the bottom. Scrolling is fast and has momentum. It even works perfectly offline, because the contents of the user guide are stored locally in a database using HTML5.
It's unclear whether PastryKit is something Apple intends to make public. Technically, any of these features could be accomplished by a very advanced coder; however, going to all this trouble to create the framework for internal use only seems like a waste of resources.
Read More



![Apple Highlights iPhone 18 Pro Max Battery Life in New Cyclops Ad [Video] Apple Highlights iPhone 18 Pro Max Battery Life in New Cyclops Ad [Video]](/images/news/103803/103803/103803-160.jpg)

![Apple Has iPads Running macOS Internally [Gurman] Apple Has iPads Running macOS Internally [Gurman]](/images/news/103794/103794/103794-160.jpg)
![How To Back Up Your iPhone to an External Drive on Mac [Video] How To Back Up Your iPhone to an External Drive on Mac [Video]](/images/tutorials/72786/72786/72786-160.jpg)
![How To Sideload Apps Onto Your iPhone Using Xcode [Video] How To Sideload Apps Onto Your iPhone Using Xcode [Video]](/images/tutorials/52314/52314/52314-160.jpg)
![How To Find Your IP Address on iPhone [Video] How To Find Your IP Address on iPhone [Video]](/images/tutorials/496/496/496-160.jpg)


![16-Inch MacBook Pro With PROLED XDR Drops to $3,200, a New All-Time Low ($199 Off) [Deal] 16-Inch MacBook Pro With PROLED XDR Drops to $3,200, a New All-Time Low ($199 Off) [Deal]](/images/news/103800/103800/103800-160.jpg)
![14-Inch MacBook Pro With M6 Drops to $1,799, a New All-Time Low ($200 Off) [Deal] 14-Inch MacBook Pro With M6 Drops to $1,799, a New All-Time Low ($200 Off) [Deal]](/images/news/103791/103791/103791-160.jpg)
![AirPods Pro 3 Drop to $149, a New All-Time Low ($100 Off) [Deal] AirPods Pro 3 Drop to $149, a New All-Time Low ($100 Off) [Deal]](/images/news/103740/103740/103740-160.jpg)
![AirTag 2 Drops to $18, a New All-Time Low (38% Off) [Deal] AirTag 2 Drops to $18, a New All-Time Low (38% Off) [Deal]](/images/news/103758/103758/103758-160.jpg)
![Apple Watch Series 12 Drops to $299, a New All-Time Low ($100 Off) [Deal] Apple Watch Series 12 Drops to $299, a New All-Time Low ($100 Off) [Deal]](/images/news/103746/103746/103746-160.jpg)