-(IBAction)showSettingView{ //古い書き方みたい //SettingViewController * viewController = // [[SettingViewController alloc]initWithNibName:@"SettingViewController" // bundle:nil]; //こっちでOK SettingViewController * viewController = [SettingViewController new]; [self presentViewController:viewController animated:YES completion:nil]; }
0 件のコメント:
コメントを投稿