how to create an interface like facebook/loopt
I am trying to make an application that have the looks of
or
How can I do it in iphone using objective-C? Is it just a view 开发者_如何学Gothat has a bunch of images?
I was just wondering why only loopt and facebook uses these kind of view, while other such as foursquare, twitter, gowalla, etc.. doesn't use it? Is it because these kinds of views are hard to implement?
A very simple and straightforward way would be to have a background image that has all the button images and the just overlay square-ish buttons. (Quick 'n nasty).
If you want a more proper approach (and to be able to add the wiggling effect) then you're going to have to have distinct buttons with custom views (the actual images).
Notice that both apps use a UIScrollView to lay each page into. So from a hierarchical perspective you have: navigationController.view -> UIScrollView -> UIView (container for each page) -> UIButton (with custom views done using UIImageViews) and optionally UILabels underneath each UIButton
How can I do it in iphone using objective-C? Is it just a view that has a bunch of images?
basically — yes.
But at least the Facebook App was made using Three20.
精彩评论