2014년 3월 1일 토요일

storyboard 밖에서 storyboard 리소스 호출하기.

MyController is in storyboard.

and

some place in a separate view controller :

  
MyController *controller =
    [[UIStoryboard storyboardWithName:@"Main_iPhone"
                               bundle:NULL] instantiateViewControllerWithIdentifier:@"MyViewController"];
    
[self.navigationController pushViewController:controller animated:YES];

댓글 없음:

댓글 쓰기