Package org.robovm.apple.safariservices
Class SFSafariViewController
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIResponder
-
- org.robovm.apple.uikit.UIViewController
-
- org.robovm.apple.safariservices.SFSafariViewController
-
- All Implemented Interfaces:
NSCoding
,NSExtensionRequestHandling
,NSObjectProtocol
,UIAccessibility
,UIAppearanceContainer
,UIContentContainer
,UIFocusEnvironment
,UIStateRestoring
,UITraitEnvironment
,org.robovm.objc.ObjCProtocol
public class SFSafariViewController extends UIViewController
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SFSafariViewController.SFSafariViewControllerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIViewController
UIViewController.Notifications, UIViewController.UIViewControllerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SFSafariViewController()
protected
SFSafariViewController(NSObject.Handle h, long handle)
protected
SFSafariViewController(NSObject.SkipInit skipInit)
SFSafariViewController(NSURL URL)
SFSafariViewController(NSURL URL, boolean entersReaderIfAvailable)
Deprecated.Deprecated in iOS 11.0.SFSafariViewController(NSURL URL, SFSafariViewControllerConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SFSafariViewControllerConfiguration
getConfiguration()
SFSafariViewControllerDelegate
getDelegate()
SFSafariViewControllerDismissButtonStyle
getDismissButtonStyle()
UIColor
getPreferredBarTintColor()
UIColor
getPreferredControlTintColor()
protected long
init(NSURL URL)
protected long
init(NSURL URL, boolean entersReaderIfAvailable)
Deprecated.Deprecated in iOS 11.0.protected long
init(NSURL URL, SFSafariViewControllerConfiguration configuration)
void
setDelegate(SFSafariViewControllerDelegate v)
void
setDismissButtonStyle(SFSafariViewControllerDismissButtonStyle v)
void
setPreferredBarTintColor(UIColor v)
void
setPreferredControlTintColor(UIColor v)
-
Methods inherited from class org.robovm.apple.uikit.UIViewController
addChildViewController, addKeyCommand, applicationFinishedRestoringState, attemptRotationToDeviceOrientation, automaticallyAdjustsScrollViewInsets, beginAppearanceTransition, beginRequest, canPerformUnwind, collapseSecondaryViewController, decodeRestorableState, definesPresentationContext, didMoveToParentViewController, didReceiveMemoryWarning, didRotate, didUpdateFocus, disablesAutomaticKeyboardDismissal, dismissMoviePlayerViewController, dismissViewController, encode, encodeRestorableState, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, getAdditionalSafeAreaInsets, getAllowedChildViewControllersForUnwinding, getBottomLayoutGuide, getChildViewControllerContainingSegueSource, getChildViewControllerForHomeIndicatorAutoHidden, getChildViewControllerForScreenEdgesDeferringSystemGestures, getChildViewControllerForStatusBarHidden, getChildViewControllerForStatusBarStyle, getChildViewControllers, getContentSizeForViewInPopover, getEdgesForExtendedLayout, getEditButtonItem, getExtensionContext, getFocusItemContainer, getInterfaceOrientation, getInterstitialPresentationPolicy, getModalPresentationStyle, getModalTransitionStyle, getNavigationController, getNavigationItem, getNibBundle, getNibName, getObjectRestorationClass, getOriginalContentView, getOverrideTraitCollection, getParentFocusEnvironment, getParentViewController, getPopoverPresentationController, getPreferredContentSize, getPreferredFocusedView, getPreferredFocusEnvironments, getPreferredInterfaceOrientationForPresentation, getPreferredScreenEdgesDeferringSystemGestures, getPreferredStatusBarStyle, getPreferredStatusBarUpdateAnimation, getPresentationController, getPresentedViewController, getPresentingViewController, getPreviewActionItems, getRestorationClass, getRestorationIdentifier, getRestorationParent, getRotatingFooterView, getRotatingHeaderView, getSearchDisplayController, getSegueForUnwinding, getSplitViewController, getStoryboard, getSupportedInterfaceOrientations, getSystemMinimumLayoutMargins, getTabBarController, getTabBarItem, getTargetViewControllerForAction, getTitle, getToolbarItems, getTopLayoutGuide, getTraitCollection, getTransitionCoordinator, getTransitioningDelegate, getView, getViewControllerForUnwind, getViewIfLoaded, hidesBottomBarWhenPushed, init, init, isBeingDismissed, isBeingPresented, isCanDisplayBannerAds, isDisplayingBannerAd, isEditing, isModalInPopover, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isRestoresFocusAfterTransition, isViewLoaded, isViewRespectsSystemMinimumLayoutMargins, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, performSegue, preferredContentSizeDidChangeForChildContentContainer, prefersHomeIndicatorAutoHidden, prefersStatusBarHidden, prepareForSegue, prepareInterstitialAds, presentMoviePlayerViewController, presentViewController, providesPresentationContextTransitionStyle, registerForPreviewing, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, separateSecondaryViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditing, setExtendedLayoutIncludesOpaqueBars, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollection, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItems, setTransitioningDelegate, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldPerformSegue, shouldPresentInterstitialAd, shouldUpdateFocus, ShowDetailTargetDidChangeNotification, showDetailViewController, showViewController, sizeForChildContentContainer, systemLayoutFittingSizeDidChangeForChildContentContainer, traitCollectionDidChange, transition, unregisterForPreviewing, unwind, updateFocusIfNeeded, updateViewConstraints, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewLayoutMarginsDidChange, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSize, wantsFullScreenLayout, willAnimateRotation, willMoveToParentViewController, willRotate, willTransitionToTraitCollection
-
Methods inherited from class org.robovm.apple.uikit.UIResponder
areAccessibilityElementsHidden, becomeFirstResponder, canBecomeFirstResponder, canPerformAction, canResignFirstResponder, clearTextInputContextIdentifier, getAccessibilityActivationPoint, getAccessibilityAttributedHint, getAccessibilityAttributedLabel, getAccessibilityAttributedValue, getAccessibilityFrame, getAccessibilityHint, getAccessibilityLabel, getAccessibilityLanguage, getAccessibilityNavigationStyle, getAccessibilityPath, getAccessibilityTraits, getAccessibilityValue, getActionTarget, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, isAccessibilityElement, isAccessibilityViewModal, isFirstResponder, motionBegan, motionCancelled, motionEnded, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedValue, setAccessibilityElement, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityTraits, setAccessibilityValue, setAccessibilityViewModal, setShouldGroupAccessibilityChildren, setUserActivity, shouldGroupAccessibilityChildren, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateUserActivityState
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
SFSafariViewController
protected SFSafariViewController()
-
SFSafariViewController
protected SFSafariViewController(NSObject.Handle h, long handle)
-
SFSafariViewController
protected SFSafariViewController(NSObject.SkipInit skipInit)
-
SFSafariViewController
public SFSafariViewController(NSURL URL, SFSafariViewControllerConfiguration configuration)
- Since:
- Available in iOS 11.0 and later.
-
SFSafariViewController
@Deprecated public SFSafariViewController(NSURL URL, boolean entersReaderIfAvailable)
Deprecated.Deprecated in iOS 11.0.- Since:
- Available in iOS 9.0 and later.
-
SFSafariViewController
public SFSafariViewController(NSURL URL)
-
-
Method Detail
-
getDelegate
public SFSafariViewControllerDelegate getDelegate()
-
setDelegate
public void setDelegate(SFSafariViewControllerDelegate v)
-
getConfiguration
public SFSafariViewControllerConfiguration getConfiguration()
- Since:
- Available in iOS 11.0 and later.
-
getPreferredBarTintColor
public UIColor getPreferredBarTintColor()
- Since:
- Available in iOS 10.0 and later.
-
setPreferredBarTintColor
public void setPreferredBarTintColor(UIColor v)
- Since:
- Available in iOS 10.0 and later.
-
getPreferredControlTintColor
public UIColor getPreferredControlTintColor()
- Since:
- Available in iOS 10.0 and later.
-
setPreferredControlTintColor
public void setPreferredControlTintColor(UIColor v)
- Since:
- Available in iOS 10.0 and later.
-
getDismissButtonStyle
public SFSafariViewControllerDismissButtonStyle getDismissButtonStyle()
- Since:
- Available in iOS 11.0 and later.
-
setDismissButtonStyle
public void setDismissButtonStyle(SFSafariViewControllerDismissButtonStyle v)
- Since:
- Available in iOS 11.0 and later.
-
init
protected long init(NSURL URL, SFSafariViewControllerConfiguration configuration)
- Since:
- Available in iOS 11.0 and later.
-
init
@Deprecated protected long init(NSURL URL, boolean entersReaderIfAvailable)
Deprecated.Deprecated in iOS 11.0.- Since:
- Available in iOS 9.0 and later.
-
init
protected long init(NSURL URL)
-
-