开发者

The title of the action sheet disappear form the view?

开发者 https://www.devze.com 2023-01-08 12:22 出处:网络
When button numbers of action sheet are more than 7, the title disappear from the view? How can i show it in the cur开发者_Go百科rent view?Quite frankly, if you are presenting more than 7 buttons in a

When button numbers of action sheet are more than 7, the title disappear from the view? How can i show it in the cur开发者_Go百科rent view?


Quite frankly, if you are presenting more than 7 buttons in an action sheet, you need to rethink the layout of that sheet. You need to present the user with a more limited set of choices. Having 7 options onscreen at once will lead to user paralysis by facing them with too many choices.


You should create a UITableViewController subclass which shows all the options instead of using a UIActionSheet in this case. You can put the title text into a section header or in the tableHeaderView.

0

精彩评论

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

关注公众号