You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting error: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
Error happening on the line 57:
The text was updated successfully, but these errors were encountered:
aebanoidze
changed the title
crashes when initializing popup from background thread
Crashes when initializing popup from background thread
Sep 1, 2021
Xcode version 12.5.1: ℹ
PopupDialog version 1.1.1: ℹ
Minimum deployment target 13.4: ℹ
Language Swift: ℹ
Swift - Version 5.0: ℹ
Dependency manager CocoaPods: ℹ
Version 1.10.1: ℹ
I am trying to present DopupDialog from background thread:
let popup = PopupDialog(title: title, message: message, buttonAlignment: .horizontal, transitionStyle: .zoomIn, tapGestureDismissal: true, panGestureDismissal: true, hideStatusBar: false) {}
I am getting error:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
Error happening on the line 57:
The text was updated successfully, but these errors were encountered: