YRRnBridge.h 627 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // YRRnBridge.h
  3. // shiku_im
  4. //
  5. // Created by liujl on 2019/8/14.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @protocol YRRnBridgeDelegate <NSObject>
  9. @required
  10. /**
  11. 返回上一页
  12. */
  13. -(void)reactNativeControllerShouldBack;
  14. /**
  15. 是否禁用侧滑手势,防止手势冲突
  16. */
  17. -(void)reactNativeControllerGestureEnabled:(BOOL)enabled;
  18. /**
  19. 是否应该旋转屏幕为全屏
  20. */
  21. -(void)reactNativeControllerShouldAutorotateParams:(NSDictionary *)params;
  22. @optional
  23. @end
  24. NS_ASSUME_NONNULL_BEGIN
  25. @interface YRRnBridge : NSObject
  26. @property(weak,nonatomic)id<YRRnBridgeDelegate> delegate;
  27. @end
  28. NS_ASSUME_NONNULL_END