开发者

iPhone panel control

开发者 https://www.devze.com 2023-03-01 05:56 出处:网络
In my iPad application there are many buttons (around 50), and I want to make a group box which contain buttons arranged by category.

In my iPad application there are many buttons (around 50), and I want to make a group box which contain buttons arranged by category.

I am looking for something l开发者_如何学Goike a C# or .NET GroupBox/Panel.


There is no Group Box / Panel Box in iPhone.

You need to manage by your self.

Use the UITableView to put all the button in on category.

http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UITableView_Class/Reference/Reference.html


It may be worthwhile to look into UIPopoverController views. These are the little popup views that appear when you click stuff. YOu could easily break your menu system into smaller parts with these.


You may draw a group panel by making two views. make a view of frame say 20,20,280,199 and then another one with frame 21,21,278,197. now put the 2nd view on the last one and change the color of last to some dark than later one. enjoy :)

remember that the should be in same hierarchy. that no one should be parent or child of any of these.

0

精彩评论

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