支持PIP,按home键suspend
2019-10-17 本文已影响0人
usuer
修改一个之前遗留的pip问题,
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
[SharedPlayerManager pipControllerSuspend];
}