1
我在我的項目中使用了AMSideMenu,並且從主屏幕執行segue(從導航欄按鈕和UIButton)到另一個視圖控制器的速度非常慢。任何想法爲何如此?執行segue的延遲iOS
我已經使用在Appdelegate.m
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)self.window.rootViewController;
container.panMode = MFSideMenuPanModeNone;
UINavigationController *navigationController = [storyboard instantiateViewControllerWithIdentifier:@"navigationController"];
UIViewController *leftSideMenuViewController = [storyboard instantiateViewControllerWithIdentifier:@"leftSideMenuViewController"];
[container setLeftMenuViewController:leftSideMenuViewController];
[container setRightMenuViewController:nil];
[container setCenterViewController:navigationController];
你的意思sidemenu開慢一點嗎? –
沒有..我有兩個按鈕在我家視圖controller.one UiButton和導航欄按鈕。它似乎非常緩慢從這些buutons執行segue –
請幫我擺脫這些問題 –