开发者

Create springboard like main view

开发者 https://www.devze.com 2023-02-10 03:23 出处:网络
Is there some sample code, or an easy way, to implement an application with as its first view something like Springboard?

Is there some sample code, or an easy way, to implement an application with as its first view something like Springboard?

What I am looking for is just a view with basic icons which after a tab on an icon tells the view-controller to push the view associated with the selected icon.

This in itself is not that difficult off-course (just putting images on a view)开发者_高级运维, but is there an easy way to implement all the extra functionality as well (as e.g. moving the icons around (start 'vibrating' when when you push hold them), multiple pages etc.). The Facebook App seems to have this. It is probably not worth my while to write it myself, but it would be nice if there is something 'out of the box' to give the App a bit more of an iPhone feel.

Thanks in advance!


Facebook uses the Three20 library for its UI. The specific view used for the SpringBoard-like interface is known as TTLauncherView.


This is not an endorsement (I have yet to really check this out, and I may be too entrenched in using Three20 at this point to even bother), but here is another project that implements the springboard functionality: myLauncher on Github


You can use UICollectionView to create this

Look at this example

https://github.com/tularovbeslan/Springboard

Create springboard like main view

0

精彩评论

暂无评论...
验证码 换一张
取 消