开发者

How to create list button in iphone like this?

i am new to this development field in iphone and i want to create list button like this:

How to create list button in iphone like this?

according to above 开发者_运维技巧image i want to create custom object in Xcode how can i implement it?

Thanks in Advance..


You are talking about “list button” so I guess you want a “list”, i.e. a table view.

You can have a look at UITableViewCell, and more specifically to its imageView, textLabel and detailedTextLabel properties which look like what you want to achieve.

Useful documentation from Apple about tableView cells can be found here


Either you create and position your buttons with Interface Builder, either you change the CGRect associated with each UIButton.

For eg : UIButton *b1 = [[UIButton alloc]initWithFrame:(x,y,w,h)];

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜