[问题] Launch Screen之后

楼主: sdico (文)   2016-10-19 15:36:31
我想要app启动的时候,判断是否第一次使用app
如果是第一次使用,会跳到设定的ViewController
设定完之后跳到Main Interface的Entry ViewController
如果已经执行设定过,直接跳到Main Interface的的Entry ViewController
目前想法是在Launch Screen加判断,
可是LaunchScreen.storyboard似乎不能设定他的UIViewController?
一直出现"Launch screens may not set custom classnames"
请问功能要怎么设计?
作者: cryinglove (毓™)   2016-10-19 16:00:00
nav 去判断 决定显示哪一个
作者: keith222 (Keith)   2016-10-19 16:03:00
appdelegate的didfinishlaunchwithoption里做判断
作者: cryinglove (毓™)   2016-10-19 16:03:00
或者appdelegate didFinish 判断
作者: ssds (useful)   2016-10-19 16:32:00
https://goo.gl/hZmWIk 我参考下面解答 希望有帮助:)
作者: howdiun (Howdiun)   2016-10-20 09:43:00
Main Interface改成空白
楼主: sdico (文)   2016-10-20 09:47:00
howdiun的意思是利用空白的页面让使用者看到不会感到怪异?
作者: howdiun (Howdiun)   2016-10-20 16:25:00
是不要设定Main Interface的意思XD,改成delegate指派当然把main interface改成lauch screen也是可以啦

Links booklink

Contact Us: admin [ a t ] ucptt.com