开发者

How to replicate iPhone's wifi network selection popup view

开发者 https://www.devze.com 2023-03-24 09:04 出处:网络
As far as I know, there\'s no standard UI component that looks like Apple\'s wifi selection popup: Are there any open source custom components out there that I can use to get a similar popup in my

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

精彩评论

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