2015-01-09 22 views
1

我面臨的問題與UIAlertview的行爲,我知道什麼時候提出alertview除了外部控件,所有的控件將變得無效。UIAlertView奇怪的行爲與快捷控制中心

enter image description here

My app on of the functionality will work only on airplain mode,My client wanted to use the control center to enable airplain mode.In my appUntil unless user activating the airplain mode Alertview will keep raise. 

但對於第一次警報顯示我無法打開快捷控制center.If我打好無需激活,然後應用waill提高相同的警報again.Then我可以能夠打開快捷方式控制中央。我想知道這種行爲。

enter image description here

如果任何一個遇到這種O行爲,請讓我知道,我怎麼能解決這個問題。

回答

0

我得到了這個解決方案,唯一的方法是使用自定義子類而不是UIalertview使用UIview。

https://github.com/alexanderjarvis/PXAlertView 

這對我很好。