当前位置: 代码迷 >> 综合 >> IOS学习 Custom iOS Target Properties
  详细解决方案

IOS学习 Custom iOS Target Properties

热度:89   发布时间:2023-12-14 00:06:25.0

偶尔不怎么忙,想记录下学习的东西,希望自己能坚持住。

UIApplicationMain(argc, argv, nil,nil)最后参数传nil会去找Target--->Info-->Custom iOS Target Properties 中的Main nib file base name(如果用的StoryBoard是找Main storyboard file base name)对应的Value(这个名字的xib),或者最后参数传类名,一般这个类中应该有UIApplicationDelegate这个代理和NavigationController管理画页堆栈(非StoryBoard需要有Window)

大部分对工程的设置都在Custom iOS Target Properties中(例:Icon file图标、Deployment Target支持最低版本、Supported interface orientations屏幕旋转支持的方向等)。

Target--->Info--->General中可以看到一些工程设置,但是有一些不能更改,在Info中可以。

这样就创建一个工程了,之后的画页都在NavigationController中管理,每一个画页都有一个装NavigationController的属性(当然都是都一个NavigationController)。


  相关解决方案