xcode12

All Image/Fast Image in React Native app not working on iOS 14 beta and Xcode 12 beta

匆匆过客 提交于 2020-07-22 06:08:21
问题 I've upgraded my iPhone device to iOS 14 beta and Xcode 12 beta. Then all Image/Fast Image on my React Native project can not show (which work well on previous iOS 13 and Xcode 11.5). 回答1: This is related to https://github.com/SDWebImage/SDWebImage/issues/3040. Simply update SDWebImage in your Podfile or remove Podfile.lock and re-install. 回答2: This is related to https://github.com/SDWebImage/SDWebImage/issues/3040 You can update SDWebImage in your Podfile or simply remove Podfile.lock and re

All Image/Fast Image in React Native app not working on iOS 14 beta and Xcode 12 beta

余生长醉 提交于 2020-07-20 10:14:10
问题 I've upgraded my iPhone device to iOS 14 beta and Xcode 12 beta. Then all Image/Fast Image on my React Native project can not show (which work well on previous iOS 13 and Xcode 11.5). 回答1: This is related to https://github.com/SDWebImage/SDWebImage/issues/3040 You can update SDWebImage in your Podfile or simply remove Podfile.lock and re-install. 回答2: This is related to https://github.com/SDWebImage/SDWebImage/issues/3040. Simply update SDWebImage in your Podfile or remove Podfile.lock and re

SwiftUI life-cycle iOS14 Where to put AppDelegate code?

帅比萌擦擦* 提交于 2020-07-15 01:31:30
问题 Now that AppDelegate and SceneDelegate are removed from SwiftUI, where do I put the code that I used to have in SceneDelegate and AppDelegate, Firebase config for ex? So I have this code currently in my AppDelegate: Where should I put this code now? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. FirebaseConfiguration.shared.setLoggerLevel

SwiftUI Label text and image vertically misaligned

吃可爱长大的小学妹 提交于 2020-07-09 09:38:05
问题 I'm using SwiftUI's brand new Label View, running Xcode 12 beta on Big Sur. As image I use SF Symbol and found an image named "play" . But I've noticed the same problem with custom images without any bordering pixels (i.e. spacing is not caused by the image), e.g. PDF icons, so it is probably not related to the image. In demos by Apple the Text and the image should just automatically align properly, but I do not see that. struct ContentView: View { var body: some View { Label("Play",

SwiftUI Label text and image vertically misaligned

浪子不回头ぞ 提交于 2020-07-09 09:37:05
问题 I'm using SwiftUI's brand new Label View, running Xcode 12 beta on Big Sur. As image I use SF Symbol and found an image named "play" . But I've noticed the same problem with custom images without any bordering pixels (i.e. spacing is not caused by the image), e.g. PDF icons, so it is probably not related to the image. In demos by Apple the Text and the image should just automatically align properly, but I do not see that. struct ContentView: View { var body: some View { Label("Play",