商业项目不方便截取效果图 也懒得写demo了 随便缕下
思路是使用LaunchScreen.storyboard (捯饬了一晚上LaunchImage 也不知道怎么网LaunchImage上加动画)
1.General - App Icons and Launch Images - Launch Screen File 宣泄 LaunchScreen.storyboard
2.到LaunchScreen.storyboard 下 勾选 Is Initial View Controller
3.然后 storyboard里画你的界面
4.可能一运行是白屏 或 黑屏 不显示图片, 将图片放到跟目录下 就好了
我需要在界面上漂浮很多东西,除了背景 logo 几张固定图片不移动 其他都移动
2.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//启动页延时1.5
[NSThread sleepForTimeInterval:1.5f];
MyMainViewController *vc = [[MyMainViewController alloc]init