szdkkk
szdkkk
I met the same issue with GPUImage 0.1.7. In my case, I found the problem comes from this method: `- (void)endProcessing { if (!isEndProcessing) { isEndProcessing = YES; for (id...
> Probably need to use `--skip-import-validation` because the GoogleAds pods are missing an arm64 simulator slice. I have already used `--skip-import-validation`, that does not help.
> https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios/64139830#64139830 Nice discussion. I've leared a lot. Though it does not fix my case. In this case, I can build the example target with real device, simulators, and even...
@wvabrinskas thanks for the reply. It might be a temporary solution.
TRY to clean your project and rebuild. I met this problem when upgrading from 4.2.1 to 4.3.1
@changsanjiang thanks for quick response! will check it now
`self.windowLevel = UIApplication.sharedApplication.keyWindow.windowLevel + 1;// UIWindowLevelNormal;` SJFullscreenModeWindow的windowLevel属性应该设置成比host app的keyWindow高,不然全屏之后是看不到播放window的。
另外还有个问题,UITabBarController的某一个子tab包含播放器的时候,如果正在显示的tab是不包含播放器,旋转屏幕也会呼出全屏播放器界面。
``` UIViewController *rootViewController = UIApplication.sharedApplication.keyWindow.rootViewController; while (rootViewController.presentedViewController) { // fix presentation error. rootViewController = rootViewController.presentedViewController; } ``` 这个没有经常严格测试,一般的场景适用
@changsanjiang 第二个问题在当前版本 SJBaseVideoPlayer 3.1.8并没有修复。 我的意思是用这段代码: ``` UIViewController *topViewController = UIApplication.sharedApplication.keyWindow.rootViewController; while (topViewController.presentedViewController) { topViewController = topViewController.presentedViewController; } ``` 获取顶层的页面topViewController,然后用topViewControlelr来显示全屏播放器界面: ``` [topViewController presentViewController:self.viewController animated:YES completion:^{ if ( completionHandler ) completionHandler(self); }];...