参数类型 RCT_EXPORT_METHOD支持所有标准的JSON对象类型,例如: string(NSString) number(NSInteger,float,double,CGFloat,NSNumber
RCTRootView支持4种不同尺寸的灵活模式: //RCTRootView.htypedefNS_ENUM(NSInteger,RCTRootViewSizeFlexibility){RCTRootViewSizeFlexibilityNone