不一樣storyboard間跳轉

 

小項目中用到storyboard,能夠按照模塊來新建多個sb。app

如下是代碼實現跳轉實現:spa

    UIStoryboard *anSb=[UIStoryboard storyboardWithName:@"Another" bundle:nil];
    AppDelegate *appDelagate=[UIApplication sharedApplication].delegate;
    appDelagate.window.rootViewController=[anSb instantiateInitialViewController];
相關文章
相關標籤/搜索