开发者

Scrolled-menu UIComponenet in ios

i want to build a scrolled-me开发者_如何学JAVAnu uicomponent like the image given below.could u guys help me which is the best place to start.Am i supposed to use a toolbar with button embedded with scroll? any help is much appreciated..

Scrolled-menu UIComponenet in ios


I would use a UIScrollView with your buttons as subviews. Forget about using UIToolbar because that would make things very complicated (You can use an image to imitate the appearance of the toolbar).

Just make a UIScrollView, add your buttons as subviews, and remember to set the contentSize according with the number of buttons you have (numButtons*buttonWidth).

That's my approach, but maybe there's another good/elegant solution.

Here you'll find a PSD that will help imitating the toolbar.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜