Post

Replies

Boosts

Views

Activity

Some questions about PHPickerViewController
When I use PHPickerViewController, I found that the button text color of the navigationbar is very close to the background color, Is there any way to customize the color? the image: tva1.sinaimg.cn/large/007S8ZIlly1ghvvpek50cj30u01szti4.jpg 2. When I use the official demo, I selected a gif from the album, but it show the type is jpg, so, how can I get the real gif from UIImage ? if itemProvider.canLoadObject(ofClass: UIImage.self) {       itemProvider.loadObject(ofClass: UIImage.self) { [weak self] image, error in         DispatchQueue.main.async {           guard let self = self, self.currentItemProvider == itemProvider else { return }           if let image = image as? UIImage {             /**the gif can't play, and show the image type is jpg */             self.display(image: image)           } else {             self.display(image: UIImage(systemName: "exclamationmark.circle"))           }         }       }     }
4
0
1.7k
Aug ’20
Xcode12 beta4: building for iOS Simulator, but linking in object file built for free standing, file 'libwebrtc.a' for arch
In Xcode12 beta4, I encounter a failure in my project. I can run the Project on my device, but it is not running in the simulator. And when I use the beta3 or Xcode11, it won't happen. I get the failure message: ld: in /libwebrtc.a(dequantizemmx.o), building for iOS Simulator, but linking in object file built for free standing, file 'libwebrtc.a' for architecture x8664. Please help me what to do in Xcode 12.4. Do I have to change settings in Xcode 12.4.
5
0
2.5k
Aug ’20