|
@@ -299,6 +299,8 @@ export enum ContentInsetAdjustmentBehavior {
|
299
|
299
|
always = 'always'
|
300
|
300
|
};
|
301
|
301
|
|
|
302
|
+export declare type ContentMode = 'recommended' | 'mobile' | 'desktop';
|
|
303
|
+
|
302
|
304
|
export interface IOSNativeWebViewProps extends CommonNativeWebViewProps {
|
303
|
305
|
allowingReadAccessToURL?: string;
|
304
|
306
|
allowsBackForwardNavigationGestures?: boolean;
|
|
@@ -308,6 +310,7 @@ export interface IOSNativeWebViewProps extends CommonNativeWebViewProps {
|
308
|
310
|
bounces?: boolean;
|
309
|
311
|
contentInset?: ContentInsetProp;
|
310
|
312
|
contentInsetAdjustmentBehavior?: ContentInsetAdjustmentBehavior;
|
|
313
|
+ contentMode?: ContentMode;
|
311
|
314
|
readonly dataDetectorTypes?: DataDetectorTypes | DataDetectorTypes[];
|
312
|
315
|
decelerationRate?: number;
|
313
|
316
|
directionalLockEnabled?: boolean;
|
|
@@ -405,6 +408,18 @@ export interface IOSWebViewProps extends WebViewSharedProps {
|
405
|
408
|
*/
|
406
|
409
|
contentInset?: ContentInsetProp;
|
407
|
410
|
|
|
411
|
+ /**
|
|
412
|
+ * Defaults to `recommended`, which loads mobile content on iPhone
|
|
413
|
+ * and iPad Mini but desktop content on other iPads.
|
|
414
|
+ *
|
|
415
|
+ * Possible values are:
|
|
416
|
+ * - `'recommended'`
|
|
417
|
+ * - `'mobile'`
|
|
418
|
+ * - `'desktop'`
|
|
419
|
+ * @platform ios
|
|
420
|
+ */
|
|
421
|
+ contentMode?: ContentMode;
|
|
422
|
+
|
408
|
423
|
/**
|
409
|
424
|
* Determines the types of data converted to clickable URLs in the web view's content.
|
410
|
425
|
* By default only phone numbers are detected.
|