After upgrading to swift 4, an error emerged, and I do not understand where it came from. Tell me what yes how to eliminate ...
2 answers
This is a Flurry bug, it is fixed in 8.3.2, you need to update the Flurry SDK (pod update if you are using CocoaPods)
- Warning: 8.3.2 leads to a giant burst of memory usage, so on the device the application is immediately killed, and in the simulator generates strange bugs. Release recalled. github.com/flurry/flurry-ios-sdk/issues/121 - tmm
|
You are trying to change the UI (user interface) from the background thread. As I see from the log, the event changes the orientation of the status bar. Try wrapping your actions in an instruction executed in the main thread:
dispatch_async(dispatch_get_main_queue(), ^{ ... // ваш код, который меняет UI }); - I myself do not change the status bar anywhere in the code, but I use the SWRevealViewController frame, in which there are some manipulations with the status bar and not a little. Maybe because of him? There is a code on obzhktivte and what exactly to wrap up, I do not even understand - Artur Skachkov
|
