简体   繁体   中英

UITableView When button pressed

Iam trying for a dropdown list .since there is no direct tool for drop down list in iphone, i thought of keeping UITableView .When the button is pressed the tableView Should appear ,when the cursor is clicked on the free space it should be disappeared.Since iam using more than three buttons the single UITableView should be reused.

Thanks in advance.

I think its best to use Settings like UI (when you select language or something from a populated list) instead of drop down, which is easy to use and follows the Apple guidelines too...

though you can make dropdown type ui also in iPhone by adding tableview in your main view based on button event and when user selects some option then remove from your main view.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM