开发者

How to best create this simple grid view on iPad?

开发者 https://www.devze.com 2023-01-09 21:08 出处:网络
I would like to recreate the interface below that allows the user to select a number by tapping a cell.What do you think is the simplest way to implement this?A UITableViewCell that has subviews added

I would like to recreate the interface below that allows the user to select a number by tapping a cell. What do you think is the simplest way to implement this? A UITableViewCell that has subviews added? A UIWebView containing an HTML table? Custom UIButtons?

Thank you开发者_如何转开发!

//Scott

How to best create this simple grid view on iPad?

(source: spkant at home.comcast.net)


You can always use AQGridView or ATArrayView for creating those types of grid elements.

EDIT: As of iOS6, you should look into UICollectionView as it comes with the framework and it has more features.


Subclass UIView, draw and do the touch detection yourself.

0

精彩评论

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