GodVampire

Results 7 comments of GodVampire

@francecil 我在浏览器 里试验的是 setInterval()如果前一次代码没有执行完,不会跳过此次代码,等待前一次代码执行完后执行。(是不是立即,还有待测试 ``` function customerTimeInterval(index) { for (let i = 0; i < 1000; i ++) { console.log(index); } } let i = 0; this.timer = setInterval(() =>...

关于iOS 自定义maker点击不生效问题 我调试的时候发现`RCTMarker.m` line 96 `_annotationView.image = nil;` 这行把image(也就是默认的maker)去掉之后点击事件就不管用了,也就是使用自定义的视图需要挂一个image。至于为什么我也没搞清楚,但是加一个透明的image点击事件就正常了 可以参考一下代码 将`RCTMarker.m`的 ``` - (void)didAddSubview:(UIView *)subview { if ([subview isKindOfClass:[RCTCallout class]]) { _calloutView = [[BMKActionPaopaoView alloc] initWithCustomView:subview]; _annotationView.paopaoView = _calloutView; }...

I have same error : "错误: 找不到符号 SplashScreen.show(this, getReactInstanceManager()); " I have already add compile project(':rn-splash-screen') in build.gradle my MainActivity.java: import com.reactnativenavigation.controllers.SplashActivity; import android.graphics.Color; import android.os.Bundle; import com.facebook.react.ReactInstanceManager; import com.facebook.react.bridge.ReactContext;...

source/tags/index.md ``` title: Alltag date: 2018-01-26 11:42:31 type: "tags" comments: false --- ```

add empty View is a nice idea. Below I provide a changeFile, if you have one(changeFile.sh) ``` sed -i '' '399a\ {Platform.OS === "ios" && } ' "node_modules/react-native-scrollable-tab-view/index.js" ```

`style={{backgroundColor: 'transparent'}}` can solve the phenomenon of black line, but don't know why