开发者

Loading different class's view on button press

开发者 https://www.devze.com 2023-03-25 19:11 出处:网络
I have a class with nib file. On that nib file i put a button. I want when somebody press that button it take you to another class\'s view i.e. nib file.

I have a class with nib file. On that nib file i put a button.

I want when somebody press that button it take you to another class's view i.e. nib file.

I have tried this

FormController *cont开发者_Python百科roller = [[FormController alloc] initWithNibName:@"countriesViewController" bundle:nil];

[self.navigationController pushViewController:controller animated:YES];
0

精彩评论

暂无评论...
验证码 换一张
取 消