Hoang Pham
Hoang Pham

Reputation: 6949

Cocoa Touch how to design the interface like facebook iPhone application's home screen?

I am just curious how facebook for iPhone application can display a list of icons with the text, then all the icons shake to allow user to change the position of each item.

What kind of control is that, and is there some sample code that do the same thing?

I think it must be standard because it exists as well in home screen of iPhone and iPod app to choose the tab item.

Thank you.

Upvotes: 0

Views: 533

Answers (2)

Kris Van Bael
Kris Van Bael

Reputation: 2862

Apple discourages App developers from imitating the spring board, claiming it is confusing for the user. So don't expect standard controls for this.

You can of course implement it yourself with animation. Basic (property based) animation should be sufficient.

Upvotes: 0

Rob Napier
Rob Napier

Reputation: 299265

It's not a standard control. It's generally implemented with Core Animation and a rotation transform.

Upvotes: 1

Related Questions