Archer.Chen

Results 3 comments of Archer.Chen

@blogwy M1 Mac上发生这个如何解决? Machine info: ``` Mac mini (M1, 2020) OS: Monterey 12.3.1 ``` ``` A JavaScript error occurred in the main process Uncaught Exception: Error: Cannot create a string...

`ESTabBarItemContentView.swift` `updateLayout()` ``` var isLandscape = false if let keyWindow = UIApplication.shared.keyWindow { isLandscape = keyWindow.bounds.width > keyWindow.bounds.height } ``` 这个横竖屏判断不严谨 可能当前的`keyWindow` 不是tabBar所在的keyWindow 我遇到的情况是这么个情况

```objc [self.imageManager requestImageForAsset:asset targetSize:targetSize contentMode:PHImageContentModeAspectFill options:nil resultHandler:^(UIImage *result, NSDictionary *info) { if (cell.tag == indexPath.item) { cell.imageView.image = result; } }]; ``` ```objc [self.imageManager startCachingImagesForAssets:assetsToStartCaching targetSize:targetSize contentMode:PHImageContentModeAspectFill options:nil]; ``` I...