The title of the action sheet disappear form the view?
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
.
精彩评论