开发者

how to programmatically create UISplitViewController?

I need a simple UISplitViewController to be created programmatically? Wherever i see it开发者_Python百科 is only using XIB.. so kindly provide a link or example for UISplitViewController programmatically...


UISplitViewController *c = [[[UISplitViewController alloc] init] autorelease];
c.viewControllers = [NSArray arrayWithObjects:myVC1, myVC2, nil];

If you need anything more than that, you'll have to ask a better question...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜