Multithreading – provides ESRI mapping of the main thread checker: invoking UI APIs in background threads in IOS 11

I use ESRI maps in my application When I run the application in IOS 10, there is no problem loading ESRI map, and zooming in and out works well But when I run the same application using IOS 11, it gives me

Main Thread Checker: UI API called on a background thread: -[UIApplication 
applicationState]
PID: 485,TID: 72091,Thread name: Runtime Network Callback Thread,Queue 
name: com.apple.root.default-qos.overcommit,QoS: 21
Backtrace:
4   Altus Mobile                        0x00000001006f4844 -
    [AGSRequestOperation kickoffConnection] + 1108 .  
5   Foundation                          0x0000000185987a50 <redacted> + 340
6   CoreFoundation                      0x0000000184f40358 <redacted> + 24
7   CoreFoundation                      0x0000000184f402d8 <redacted> + 88
8   CoreFoundation                      0x0000000184f3fb60 <redacted> + 204
9   CoreFoundation                      0x0000000184f3d738 <redacted> + 1048
10  CoreFoundation                      0x0000000184e5e2d8 
    CFRunLoopRunSpecific + 436
11  Foundation                          0x00000001858866e4 <redacted> + 304
12  Altus Mobile                        0x00000001007dbf28 -
    [AGSThreadTargetImpl mainRoutine] + 292
13  Foundation                          0x0000000185987860 <redacted> + 996
14  libsystem_pthread.dylib             0x0000000184bc432c <redacted> + 308
15  libsystem_pthread.dylib             0x0000000184bc41f8 <redacted> + 0
16  libsystem_pthread.dylib             0x0000000184bc2c38 thread_start + 4
    2017-10-26 13:11:41.375952+0530 Altus Mobile[485:72091] [reports] Main 
Thread Checker: UI API called on a background thread: -[UIApplication .   
applicationState]

I know that Apple has enabled the main thead checker in the latest Xcode version, which tells us whether to use any UI main thread in the background To ensure that the problem is that ESRI maps has annotated the loading part of ESRI map, the main thread checker problem does not pop up, but when I uncomment it, I send it back again In addition, when I zoom in and out of the ESRI map I'm getting

2017-10-26 13:11:41.659743+0530 Altus Mobile[485:72060] Task <504051EF-9770-
 4852-AFB8-C47DF112DA52>.<30> finished with error - code: -999

Has anyone encountered problems similar to ESRI maps? Any help is appreciated thank you.

Solution

Yes, I met with ArcGIS SDK version 100.0 in IOS 11 0 the same problem Upgrade the ArcGIS SDK to 100.1.0 Solved the problem for me

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>