UI API called on a background thread?
Sweeper777 opened this issue · 0 comments
Sweeper777 commented
When the camera view is shown, I got this message in the console:
Main Thread Checker: UI API called on a background thread: -[UIView addGestureRecognizer:]
PID: 36653, TID: 5395685, Thread name: (none), Queue name: AACameraViewSessionQueue, QoS: 0
Backtrace:
4 AACameraView 0x0000000105bac468 $sSo6UIViewC12AACameraViewE23toggleGestureRecognizer_7gestureySb_So09UIGestureF0CtF + 176
5 AACameraView 0x0000000105bae818 $s12AACameraViewAAC15setPinchGestureyyF + 168
6 AACameraView 0x0000000105bb5c20 $s12AACameraViewAAC10setSessionyyFyycfU_ + 308
7 AACameraView 0x0000000105baaea8 $sIeg_IeyB_TR + 52
8 libdispatch.dylib 0x000000010918d260 _dispatch_call_block_and_release + 24
9 libdispatch.dylib 0x000000010918d220 _dispatch_client_callout + 16
10 libdispatch.dylib 0x000000010919be80 _dispatch_queue_serial_drain + 768
11 libdispatch.dylib 0x0000000109190730 _dispatch_queue_invoke + 328
12 libdispatch.dylib 0x000000010919cdd8 _dispatch_root_queue_drain_deferred_wlh + 352
13 libdispatch.dylib 0x00000001091a3ebc _dispatch_workloop_worker_thread + 676
14 libsystem_pthread.dylib 0x00000001835d7e70 _pthread_wqthread + 860
15 libsystem_pthread.dylib 0x00000001835d7b08 start_wqthread + 4