ios 關於頁面間的跳轉


 // 加載storyboard   TJump爲storyboard的名字    ddd 爲其view的id
    UIStoryboard *story = [UIStoryboard storyboardWithName:@"TJump" bundle:[NSBundle mainBundle]];
    TempJumpView *Jump = [story instantiateViewControllerWithIdentifier:@"ddd"];

    // 設置跳轉類型
    Jump.modalTransitionStyle = 3;
    // 開始跳轉
    [self presentViewController:Jump animated:YES completion:^{}];



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章