开发者

How to make a Grid-like button group?

开发者 https://www.devze.com 2023-01-07 03:00 出处:网络
What I want to do, is to create a group of buttons. I know there is something like a button group, but only for buttons in a line. I want to create a button group, which will look like a UITableView,

What I want to do, is to create a group of buttons. I know there is something like a button group, but only for buttons in a line. I want to create a button group, which will look like a UITableView, with several rows and at least 2 columns. I know I have seen something like this in an app, but I can't remember the name at the moment. The button group should look like a grouped UITableView or the preferences "button-table" of the iPhon开发者_如何学Pythone, but with more than one column.


Add several UIButton objects to a UITableViewCell. Add titles, actions etc. to each of your buttons.

0

精彩评论

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