url = “
property(nonatomic,getter=isSelectable) BOOL selectable; 设置是否可以选中 @property(nonatomic) UIDataDetectorTypes dataDetectorTypes
stopLoading; 回退 - (void)goBack; 前进 - (void)goForward; 需要进行检测的数据类型 @property(nonatomic) UIDataDetectorTypes dataDetectorTypes self.webView.dataDetectorTypes = UIDataDetectorTypeAll; 可滚动范围 self.webView.scrollView.contentInset =
@property (nonatomic) BOOL scalesPageToFit; 设置是否缩放到适合屏幕大小 @property (nonatomic) UIDataDetectorTypes dataDetectorTypes
initWithFrame:CGRectMake(20, 20, 280, 540)]; textView.backgroundColor = [UIColor grayColor]; textView.dataDetectorTypes
this.props.allowsInlineMediaPlayback} mediaPlaybackRequiresUserAction={this.props.mediaPlaybackRequiresUserAction} dataDetectorTypes ={this.props.dataDetectorTypes} {...nativeConfig.props} />; 当看到 {...nativeConfig.props}
要关闭这个默认的行为,用 WKDataDetectorTypes 设置 dataDetectorTypes 属性以不包含 WKDataDetectorTypePhoneNumber 标志。 识别数据类型 dataDetectorTypes。所需的数据监测类型。 WKDataDetectorTypes。枚举类型,监测到的数据类型。
webView.scalesPageToFit = YES; 8.设置某些数据变为链接形式,这个枚举可以设置如电话号,地址,邮箱等转化为链接 @property (nonatomic) UIDataDetectorTypes dataDetectorTypes
WKUserInterfaceDirectionPolicyContent 设置需要检测的数据类型 指定该属性将会给匹配的页面内容增加用户交互@property(nonatomic) WKDataDetectorTypes dataDetectorTypes