-
Hello all, Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You should initialize MMKV in the main thread. |
Beta Was this translation helpful? Give feedback.
-
Hello all, Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
You should initialize MMKV in the main thread. |
Beta Was this translation helpful? Give feedback.
You should initialize MMKV in the main thread.
Otherwise, chances are you might get the first MMKV instance in a child thread, and that will trigger a runtime warning about accessing UIKit properties in child threads.