모바일개발(Mobile Dev)/IOS개발(ObjectC)
storyboard id or segue
테크한스
2015. 12. 27. 14:07
반응형
storyboard id
-------------------------------------------------------------------------------------------------------------------------
NFSActivityWorkoutView *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"NFSActivityWorkoutView"];
[self presentViewController:vc animated:YES completion:nil];
-------------------------------------------------------
-------------------------------------------------------
segue name
[self performSelector:@selector(sendingNext) withObject:nil afterDelay:1.0];
- (void)sendingNext {
[self performSegueWithIdentifier:@"Workout" sender:self];
}
-------------------------------------------------------
반응형