开发者

Loading different class's view on button press

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜