![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
React Native
文章平均质量分 72
小宇丝
这个作者很懒,什么都没留下…
展开
-
PanResponder的使用总结
简介对于简单的 touch 事件,React Native有4个专门的 touch 组件进行处理TouchableHighlightTouchableNativeFeedbackTouchableOpacityTouchableWithoutFeedback他们可以绑定4种不同的响应方法onPressonPressInonPressOutonLonePress而对于手指滑动操作,利用上面的方法无法实现,这时就用到 gesture responder system在React Nati转载 2020-07-18 11:33:09 · 1619 阅读 · 1 评论 -
RN发送通知,bad
#import "FPreNotification.h"#import <React/RCTBridgeModule.h>#import <React/RCTEventEmitter.h>@interface FPreNotification (){}@property (nonatomic, copy) NSDictionary *b...原创 2019-11-20 14:53:22 · 293 阅读 · 1 评论 -
iOS native给JS发送通知
https://blog.csdn.net/ShmilyCoder/article/details/99692831转载 2019-10-28 19:49:44 · 350 阅读 · 0 评论 -
NativeEventEmitter
RN端:const calendarManagerEmitter = new NativeEventEmitter(NativeModules.FPreNotification);const subscription = calendarManagerEmitter.addListener( 'aaaaaa', this.onDataReceived.bind(this)...原创 2019-06-06 16:38:45 · 3072 阅读 · 0 评论