开发者

How to replicate iPhone's wifi network selection popup view

As far as I know, there's no standard UI component that looks like Apple's wifi selection popup:

How to replicate iPhone's wifi network selection popup view

Are there any open source custom components out there that I can use to get a similar popup in my app? If not, how would I go开发者_运维技巧 about writing my own?

I did find this on Google Images:

How to replicate iPhone's wifi network selection popup view

So I guess it is possible.


You can add subviews to a UIAlertView and make a custom behavior. I would recommend looking at this link:

http://codesofa.com/blog/archive/2009/07/15/look-uialertview-is-dating-uitableview.html

I also found this similar question:

How to add UITableView to UIAlertView?


Its a UIAlertView with a UITableView inside it.

The top view containing the switch is a UITableViewCell - Grouped with a UISwitch ontop.

The bottom view is just a UITableView.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜