I'm working on a universal iOS application. On the startup a short intro video should be displayed, but I can't figure out how to handle it for both device types correctly. It is a master-detail-application. So when and where should I load my video to view it on startup?
Thanks in advance
If you want it just on initial launch, put play code in
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
Or if you want to play every time the app becomes active
- (void)applicationDidBecomeActive:(UIApplication *)application
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.