[英]How to implement a Modal View in a TabBar iOS app
我正在嘗試在標簽欄應用程序中呈現模式視圖。 我正在使用代碼
- (IBAction)newView
{
[self.viewController presentModalViewController:viewController
animated:YES];
}
鏈接到按鈕。 當按下按鈕時,什么也沒有發生,日志上也沒有任何顯示。 這很可能很容易解決,但是我還沒有發現任何有效的方法。
謝謝
使用它,您會感到震驚:
[self presentModalViewController:viewController animated:YES];
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.