如何在UIStoryBoard
內打開UIAlertView
的新UIViewController
(ViewController4)?從UIStoryBoard中的UIAlertView打開UIViewController
0
A
回答
0
爲故事板中的視圖控制器提供標識符。
在爲UIAlertView中(the one that sets the behavior of pressing a button)的委託方法執行以下操作:
實例化視圖 - 控制通過詢問「故事板」給你與標識符控制器取回。 https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIStoryboard_Class/Reference/Reference.html
相關問題
- 1. 從UIStoryboard啓動的UIViewController上的NSKeyedUnarchiver
- 2. 加載UIViewController UIStoryboard從另一個UIViewController從xib
- 3. UIAlertView無法打開網址?
- 4. 快速打開新的UIViewController
- 5. 如何從UISplitViewController(左側tableview)打開UIViewcontroller?
- 6. 開放應用程序打開的UIViewController
- 7. 如何在運行時更改UIStoryboard中的UIViewController類名稱
- 8. 如何在UIVIewController中添加多個UIAlertview?
- 9. 在Logos調整中顯示UIAlertView或UIViewController
- 10. 點擊UITabbarItem後打開UIViewController
- 11. 從iOS自己的代理再次打開UIAlertView失敗在iOS
- 12. Swift - 從幻燈片菜單中打開UIViewController
- 13. 使用Swift打開新的UIViewController
- 14. 單擊UITableViewCell時打開新的UIViewController?
- 15. 從UIAlertView中
- 16. 從UIAlertView開始一個新的ViewController
- 17. 如何使用UIStoryboard和UIViewcontroller切換視圖
- 18. UIAlertView中按鈕選項,打開新的觀點
- 19. 按下按鈕時UIViewcontroller無法打開
- 20. iOS UIViewController麻煩打開另一個uwwcontoller
- 21. 打開UIViewController,不顯示UINavigationController導航欄
- 22. Monotouch.Dialog RootElement打開UIViewController並傳入數據
- 23. 當點擊TTTabIcon時打開UIViewController
- 24. UIStoryboard popViewController
- 25. UIStoryboard - OutletCollection
- 26. 開關的UIViewController在iOS中
- 27. 保存從UIAlertView中
- 28. UIStoryboard中的場景截圖
- 29. Alloc-init UIStoryboard中的對象
- 30. 推送通知後從URL方案打開UIViewController
謝謝,但我需要一個代碼片段,我可以適用於我的項目... –
確定第一部分完成 –
現在返回我現在做第二步 - 呈現viewcontroller modaly –