his application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
Asked
Active
Viewed 95 times
0

LF00
- 27,015
- 29
- 156
- 295

udaykumar40
- 17
- 8
-
You should post some code also. – girish_pro May 08 '17 at 05:22
-
Post the Error logs also, logs are descriptive. – Shubham Naik May 08 '17 at 06:11
-
http://stackoverflow.com/q/28302019/6521116 – LF00 May 17 '17 at 07:49
1 Answers
0
Try this:
It needs to be placed inside a different thread that allows the UI to update as soon as execution of thread function complete
DispatchQueue.main.async
{
// Update UI
}

Pragnesh Vitthani
- 2,532
- 20
- 28
-
-
do you check, which line of your code give this error by placed breakpoint on your code?, may be the error is generate at elsewhere... – Pragnesh Vitthani May 08 '17 at 05:40