ios - Console shows AutoLayout Engine Warning while loading UIWebView and Crashes the app sometimes -


summary: while trying load url/html string on uiwebview console shows warning "this application modifying autolayout engine background thread after engine accessed main thread. can lead engine corruption , weird crashes." , crashes app @ point.

steps reproduce:

  1. load url/html string on uiwebview.
  2. console show autolayout engine warning.
  3. app crashed times(uncaught exception: run on main thread!).

expected results: app should not show warning while loading uiwebview , should not crash app due warning.

actual results: application modifying autolayout engine background thread after engine accessed main thread. can lead engine corruption , weird crashes.

    stack:(         0   corefoundation                      0x0000000188e35998 <redacted> + 148         1   libobjc.a.dylib                     0x00000001884304bc objc_exception_throw + 56         2   corefoundation                      0x0000000188e358c8 <redacted> + 0         3   foundation                          0x00000001899a3da0 <redacted> + 192         4   foundation                          0x00000001899a3b00 <redacted> + 76         5   foundation                          0x0000000189808548 <redacted> + 108         6   foundation                          0x00000001899a2788 <redacted> + 104         7   uikit                               0x000000018ebbc76c <redacted> + 1464         8   quartzcore                          0x000000018c0e0d6c <redacted> + 148         9   quartzcore                          0x000000018c0d5aac <redacted> + 292         10  quartzcore                          0x000000018c0d596c <redacted> + 32         11  quartzcore                          0x000000018c0554fc <redacted> + 252         12  quartzcore                          0x000000018c07c7c4 <redacted> + 512         13    quartzcor 

ios version: ios 10 beta 1

xcode version: xcode 8 beta

this issue has been resolved in ios 10 beta2.

thanks!

this issue happening in ios 10 beta1 , filed issue in apple bug report sample project. issue has been resolved in ios 10 beta 2.

thanks!


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -