06.07.2011 17:05 Uhr, Quelle: The Unofficial Apple Weblog

Dev Juice: Help me create a hidden logo

Dear Dev Juice, How do you implement that slightly egotistical Apple logo hidden in iBooks.app if you drag the bookshelf down from the top? Brandon E. Dear Brandon Ah. You speak of the hidden drag-to-reveal logo. Actually, that's super-easy to do. Just remember that you can add subviews to scroll views and place them in that magic elastic zone at the top. Take tables for example. Lots of devs now add "pull-to-refresh" feature to the top, similar to Apple's logo. As with the scrollview, make sure to set the origin above the normal start, i.e. use negative numbers of at least the size of whatever view you add. Here's the basic ap

Weiterlesen bei The Unofficial Apple Weblog

Digg del.icio.us Facebook email MySpace Technorati Twitter

JustMac.info © Thomas Lohner - Impressum - Datenschutz