Xcode 12: iOS 14 Widget all black in simulator. How to fix?
问题 I want to add some iOS 14 widgets to my existing iOS app. When testing the widget in simulator it frequently happen, that the widget is not displayed correctly but is all black. Both in the widget selection dialog and in the actual widget that is shown on the homescreen. Re-running the app does not solve the problem. In most cases the problem goes away when deleting the app and restarting the simulator. However, in some rare cases only deleting the simulator and adding a new one solved the