开发者

how to programmatically create UISplitViewController?

开发者 https://www.devze.com 2023-03-25 11:11 出处:网络
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 programmatica

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

精彩评论

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