我正在使用 Apple 的应用程序计算器,但我需要将其放入storyboard
不在xib
文件中。有人可以指导我如何更改它吗?
苹果应用程序的代码如下:
- (void) applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customization after application launch
CalcViewController *_calcViewController = [[CalcViewController alloc] initWithNibName:@"CalcView" bundle:[NSBundle mainBundle]];
self.calcViewController = _calcViewController;
[window addSubview:[calcViewCont``roller view]];
[window makeKeyAndVisible];
}
storyboard
我想将其放入的称为SecondViewController
.
有人可以帮忙吗?谢谢