FWWebViewWrapper

@interface FWWebViewWrapper : FWViewWrapper

Undocumented

  • Undocumented

    Declaration

    Objective-C

    FWWrapperCompatible, fw)

FWWebViewBridge

  • 设置Javascript桥接器强引用属性,防止使用过程中被释放

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) FWWebViewJsBridge *jsBridge;
  • 获取当前UserAgent,未自定义时为默认,示例:Mozilla/5.0 (iPhone; CPU OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull userAgent;