0
Wie führe ich Code in react-native JS-Thread in iOS?React-Native: läuft auf JS-Thread
Ich bin in der Lage, dies in react-native Android durch Zugriff auf reactApplicationContext zu tun.
In Android:
reactApplicationContext.runOnJSQueueThread(new Runnable() {
public synchronized void run() {
//enter code here
}
});
In IOS: ??