Skip to content

UI API called on a background thread #113

@grifas

Description

@grifas

This message appears in the console when I call KVNProgress.show:

Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 2105, TID: 410020, Thread name: com.apple.CoreMotion.MotionThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4   libobjc.A.dylib                     0x00000001b2f53894 <redacted> + 56
5   CoreMotion                          0x00000001b97b37a4 CoreMotion + 305060
6   CoreMotion                          0x00000001b97b3cd8 CoreMotion + 306392
7   CoreMotion                          0x00000001b97b3be8 CoreMotion + 306152
8   CoreMotion                          0x00000001b97e53cc CoreMotion + 508876
9   CoreMotion                          0x00000001b97e542c CoreMotion + 508972
10  CoreFoundation                      0x00000001b3cec888 <redacted> + 28
11  CoreFoundation                      0x00000001b3cec16c <redacted> + 276
12  CoreFoundation                      0x00000001b3ce7470 <redacted> + 2324
13  CoreFoundation                      0x00000001b3ce6844 CFRunLoopRunSpecific + 452
14  CoreFoundation                      0x00000001b3ce75a8 CFRunLoopRun + 84
15  CoreMotion                          0x00000001b97e4d64 CoreMotion + 507236
16  libsystem_pthread.dylib             0x00000001b3961a04 <redacted> + 132
17  libsystem_pthread.dylib             0x00000001b3961960 _pthread_start + 52
18  libsystem_pthread.dylib             0x00000001b3969df4 thread_start + 4

Seems to appear only on iOS 12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions