Skip to content

Instantly share code, notes, and snippets.

@HituziANDO
Created August 28, 2012 05:42
Show Gist options
  • Save HituziANDO/3495258 to your computer and use it in GitHub Desktop.
Save HituziANDO/3495258 to your computer and use it in GitHub Desktop.
iOS_画面遷移
ストーリーボード上でセグエにgoSampleというIDをつけておく
- (void)method
{
[self performSegueWithIdentifier:@"goSample" sender:self];
}
// 画面遷移する前に呼ばれる
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if([[segue identifier] isEqualToString:@"goSample"])
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment