Package apple.uikit
Class UISplitViewController
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIViewController
-
- apple.uikit.UISplitViewController
-
- All Implemented Interfaces:
NSCoding,NSExtensionRequestHandling,NSObject,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIStateRestoring,UITraitEnvironment,UIUserActivityRestoring
public class UISplitViewController extends UIViewController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.uikit.UIViewController
UIViewController.Block_dismissViewControllerAnimatedCompletion, UIViewController.Block_presentViewControllerAnimatedCompletion, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_4, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_5
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUISplitViewController(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static UISplitViewControlleralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static voidattemptRotationToDeviceOrientation()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(java.lang.String identifier)static java.lang.StringdebugDescription_static()UISplitViewControllerDelegatedelegate()static java.lang.Stringdescription_static()longdisplayMode()The actual current displayMode of the split view controller.UIBarButtonItemdisplayModeButtonItem()A system bar button item whose action will change the displayMode property depending on the result of targetDisplayModeForActionInSplitViewController:.static longhash_static()voidhideColumn(long column)-hideColumn: and -showColumn: do not accept the Compact column Collapsed: -hideColumn: always ignored for the Primary column, or if the requested column is not on top; otherwise the column is popped -showColumn: pushes the column (and any intervening columns) if the column is not in the stack; does nothing if the column is on top; pops any covering columns if the column is in the stack but not on top Expanded: -hideColumn: ignored for the Secondary column; ignored when the column is not visible in the current displayMode; otherwise animates to the nearest displayMode where the column is not visible -showColumn: ignored for the Secondary column; ignored when the column is already visible in the current displayMode; otherwise animates to the nearest displayMode where the column is visible If an animation is started due to -show/hideColumn:, the transitionCoordinator for the UISplitViewController is available following the -show/hideColumn: message.UISplitViewControllerinit()UISplitViewControllerinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERUISplitViewControllerinitWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)The designated initializer.UISplitViewControllerinitWithStyle(long style)static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisCollapsed()Specifies whether the split view controller has collapsed its primary and secondary view controllers togetherstatic booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)doublemaximumPrimaryColumnWidth()default: UISplitViewControllerAutomaticDimensiondoublemaximumSupplementaryColumnWidth()doubleminimumPrimaryColumnWidth()default: UISplitViewControllerAutomaticDimensiondoubleminimumSupplementaryColumnWidth()static java.lang.Objectnew_objc()longpreferredDisplayMode()An animatable property that controls how the primary view controller is hidden and displayed.doublepreferredPrimaryColumnWidth()default: UISplitViewControllerAutomaticDimensiondoublepreferredPrimaryColumnWidthFraction()default: UISplitViewControllerAutomaticDimensionlongpreferredSplitBehavior()default Automatic, actual behavior will be determined by width buckets and view aspect rationdoublepreferredSupplementaryColumnWidth()doublepreferredSupplementaryColumnWidthFraction()Same as the "Primary" versions but applying to the Supplementary column for the triple-column style UISplitViewControllerstatic voidprepareInterstitialAds()booleanpresentsWithGesture()If 'YES', hidden view can be presented and dismissed via a swipe gesture.longprimaryBackgroundStyle()The background style of the primary view controller.doubleprimaryColumnWidth()The current primary view controller's column width.longprimaryEdge()default: UISplitViewControllerPrimaryEdgeLeadingstatic booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetDelegate(UISplitViewControllerDelegate value)voidsetDelegate_unsafe(UISplitViewControllerDelegate value)voidsetMaximumPrimaryColumnWidth(double value)default: UISplitViewControllerAutomaticDimensionvoidsetMaximumSupplementaryColumnWidth(double value)voidsetMinimumPrimaryColumnWidth(double value)default: UISplitViewControllerAutomaticDimensionvoidsetMinimumSupplementaryColumnWidth(double value)voidsetPreferredDisplayMode(long value)An animatable property that controls how the primary view controller is hidden and displayed.voidsetPreferredPrimaryColumnWidth(double value)default: UISplitViewControllerAutomaticDimensionvoidsetPreferredPrimaryColumnWidthFraction(double value)default: UISplitViewControllerAutomaticDimensionvoidsetPreferredSplitBehavior(long value)default Automatic, actual behavior will be determined by width buckets and view aspect rationvoidsetPreferredSupplementaryColumnWidth(double value)voidsetPreferredSupplementaryColumnWidthFraction(double value)Same as the "Primary" versions but applying to the Supplementary column for the triple-column style UISplitViewControllervoidsetPresentsWithGesture(boolean value)If 'YES', hidden view can be presented and dismissed via a swipe gesture.voidsetPrimaryBackgroundStyle(long value)The background style of the primary view controller.voidsetPrimaryEdge(long value)default: UISplitViewControllerPrimaryEdgeLeadingvoidsetShowsSecondaryOnlyButton(boolean value)Default NO.static voidsetVersion_static(long aVersion)voidsetViewControllerForColumn(UIViewController vc, long column)If the vc is not a UINavigationController, one will be created, except for UISplitViewControllerColumnCompact.voidsetViewControllers(NSArray<? extends UIViewController> value)-setViewController:forColumn:/-viewControllerForColumn: recommended for column-style UISplitViewControllervoidshowColumn(long column)voidshowDetailViewControllerSender(UIViewController vc, java.lang.Object sender)In a horizontally-regular environment this will set the detail view controller unless it provided an implementation for showViewController:sender: in which case it will be called.booleanshowsSecondaryOnlyButton()Default NO.voidshowViewControllerSender(UIViewController vc, java.lang.Object sender)In a horizontally-regular environment this will set either the master or detail view controller depending on the original target.longsplitBehavior()longstyle()For information only, will not be called from UIKit codestatic org.moe.natj.objc.Classsuperclass_static()doublesupplementaryColumnWidth()static longversion_static()UIViewControllerviewControllerForColumn(long column)NSArray<? extends UIViewController>viewControllers()-setViewController:forColumn:/-viewControllerForColumn: recommended for column-style UISplitViewController-
Methods inherited from class apple.uikit.UIViewController
addChildViewController, additionalSafeAreaInsets, addKeyCommand, allowedChildViewControllersForUnwindingFromSource, applicationFinishedRestoringState, automaticallyAdjustsScrollViewInsets, automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers, beginAppearanceTransitionAnimated, beginRequestWithExtensionContext, bottomLayoutGuide, canDisplayBannerAds, canPerformUnwindSegueActionFromViewControllerSender, canPerformUnwindSegueActionFromViewControllerWithSender, childViewControllerContainingSegueSource, childViewControllerForHomeIndicatorAutoHidden, childViewControllerForPointerLock, childViewControllerForScreenEdgesDeferringSystemGestures, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, collapseSecondaryViewControllerForSplitViewController, contentSizeForViewInPopover, decodeRestorableStateWithCoder, definesPresentationContext, didAnimateFirstHalfOfRotationToInterfaceOrientation, didMoveToParentViewController, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, didUpdateFocusInContextWithAnimationCoordinator, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissMoviePlayerViewControllerAnimated, dismissViewControllerAnimatedCompletion, edgesForExtendedLayout, editButtonItem, encodeRestorableStateWithCoder, encodeWithCoder, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, extensionContext, focusGroupIdentifier, focusItemContainer, hidesBottomBarWhenPushed, interfaceOrientation, interstitialPresentationPolicy, isBeingDismissed, isBeingPresented, isDisplayingBannerAd, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isViewLoaded, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, modalPresentationStyle, modalTransitionStyle, modalViewController, navigationController, navigationItem, nibBundle, nibName, objectRestorationClass, originalContentView, overrideTraitCollectionForChildViewController, overrideUserInterfaceStyle, parentFocusEnvironment, parentViewController, performsActionsWhilePresentingModally, performSegueWithIdentifierSender, popoverPresentationController, preferredContentSize, preferredContentSizeDidChangeForChildContentContainer, preferredFocusedView, preferredFocusEnvironments, preferredInterfaceOrientationForPresentation, preferredScreenEdgesDeferringSystemGestures, preferredStatusBarStyle, preferredStatusBarUpdateAnimation, prefersHomeIndicatorAutoHidden, prefersPointerLocked, prefersStatusBarHidden, prepareForSegueSender, presentationController, presentedViewController, presentingViewController, presentModalViewControllerAnimated, presentMoviePlayerViewControllerAnimated, presentViewControllerAnimatedCompletion, previewActionItems, providesPresentationContextTransitionStyle, registerForPreviewingWithDelegateSourceView, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, restorationClass, restorationIdentifier, restorationParent, restoresFocusAfterTransition, rotatingFooterView, rotatingHeaderView, searchDisplayController, segueForUnwindingToViewControllerFromViewControllerIdentifier, separateSecondaryViewControllerForSplitViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditingAnimated, setExtendedLayoutIncludesOpaqueBars, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollectionForChildViewController, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationClass_unsafe, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItemsAnimated, setTransitioningDelegate, setTransitioningDelegate_unsafe, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifierSender, shouldPresentInterstitialAd, shouldUpdateFocusInContext, sizeForChildContentContainerWithParentContainerSize, splitViewController, storyboard, supportedInterfaceOrientations, systemLayoutFittingSizeDidChangeForChildContentContainer, systemMinimumLayoutMargins, tabBarController, tabBarItem, targetViewControllerForActionSender, title, toolbarItems, topLayoutGuide, traitCollection, traitCollectionDidChange, transitionCoordinator, transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion, transitioningDelegate, unregisterForPreviewingWithContext, unwindForSegueTowardsViewController, updateFocusIfNeeded, updateViewConstraints, view, viewControllerForUnwindSegueActionFromViewControllerWithSender, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewDidUnload, viewIfLoaded, viewLayoutMarginsDidChange, viewRespectsSystemMinimumLayoutMargins, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSizeWithTransitionCoordinator, viewWillUnload, wantsFullScreenLayout, willAnimateFirstHalfOfRotationToInterfaceOrientationDuration, willAnimateRotationToInterfaceOrientationDuration, willAnimateSecondHalfOfRotationFromInterfaceOrientationDuration, willMoveToParentViewController, willRotateToInterfaceOrientationDuration, willTransitionToTraitCollectionWithTransitionCoordinator
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static UISplitViewController alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
attemptRotationToDeviceOrientation
public static void attemptRotationToDeviceOrientation()
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(java.lang.String identifier)
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
prepareInterstitialAds
public static void prepareInterstitialAds()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
delegate
public UISplitViewControllerDelegate delegate()
-
displayMode
public long displayMode()
The actual current displayMode of the split view controller. This will never return `UISplitViewControllerDisplayModeAutomatic`.
-
displayModeButtonItem
public UIBarButtonItem displayModeButtonItem()
A system bar button item whose action will change the displayMode property depending on the result of targetDisplayModeForActionInSplitViewController:. When inserted into the navigation bar of the secondary view controller it will change its appearance to match its target display mode. When the target displayMode is PrimaryHidden, this will appear as a fullscreen button, for AllVisible or PrimaryOverlay it will appear as a Back button, and when it won't cause any action it will become hidden.
-
init
public UISplitViewController init()
- Overrides:
initin classUIViewController
-
initWithCoder
public UISplitViewController initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIViewController
-
initWithNibNameBundle
public UISplitViewController initWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
Description copied from class:UIViewControllerThe designated initializer. If you subclass UIViewController, you must call the super implementation of this method, even if you aren't using a NIB. (As a convenience, the default init method will do this for you, and specify nil for both of this methods arguments.) In the specified NIB, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you invoke this method with a nil nib name, then this class' -loadView method will attempt to load a NIB whose name is the same as your view controller's class. If no such NIB in fact exists then you must either call -setView: before -view is invoked, or override the -loadView method to set up your views programatically.- Overrides:
initWithNibNameBundlein classUIViewController
-
isCollapsed
public boolean isCollapsed()
Specifies whether the split view controller has collapsed its primary and secondary view controllers together
-
maximumPrimaryColumnWidth
public double maximumPrimaryColumnWidth()
default: UISplitViewControllerAutomaticDimension
-
minimumPrimaryColumnWidth
public double minimumPrimaryColumnWidth()
default: UISplitViewControllerAutomaticDimension
-
preferredDisplayMode
public long preferredDisplayMode()
An animatable property that controls how the primary view controller is hidden and displayed. A value of `UISplitViewControllerDisplayModeAutomatic` specifies the default behavior split view controller, which on an iPad, corresponds to an overlay mode in portrait and a side-by-side mode in landscape.
-
preferredPrimaryColumnWidthFraction
public double preferredPrimaryColumnWidthFraction()
default: UISplitViewControllerAutomaticDimension
-
presentsWithGesture
public boolean presentsWithGesture()
If 'YES', hidden view can be presented and dismissed via a swipe gesture. Defaults to 'YES'.
-
primaryColumnWidth
public double primaryColumnWidth()
The current primary view controller's column width.
-
setDelegate_unsafe
public void setDelegate_unsafe(UISplitViewControllerDelegate value)
-
setDelegate
public void setDelegate(UISplitViewControllerDelegate value)
-
setMaximumPrimaryColumnWidth
public void setMaximumPrimaryColumnWidth(double value)
default: UISplitViewControllerAutomaticDimension
-
setMinimumPrimaryColumnWidth
public void setMinimumPrimaryColumnWidth(double value)
default: UISplitViewControllerAutomaticDimension
-
setPreferredDisplayMode
public void setPreferredDisplayMode(long value)
An animatable property that controls how the primary view controller is hidden and displayed. A value of `UISplitViewControllerDisplayModeAutomatic` specifies the default behavior split view controller, which on an iPad, corresponds to an overlay mode in portrait and a side-by-side mode in landscape.
-
setPreferredPrimaryColumnWidthFraction
public void setPreferredPrimaryColumnWidthFraction(double value)
default: UISplitViewControllerAutomaticDimension
-
setPresentsWithGesture
public void setPresentsWithGesture(boolean value)
If 'YES', hidden view can be presented and dismissed via a swipe gesture. Defaults to 'YES'.
-
setViewControllers
public void setViewControllers(NSArray<? extends UIViewController> value)
-setViewController:forColumn:/-viewControllerForColumn: recommended for column-style UISplitViewController
-
showDetailViewControllerSender
public void showDetailViewControllerSender(UIViewController vc, java.lang.Object sender)
In a horizontally-regular environment this will set the detail view controller unless it provided an implementation for showViewController:sender: in which case it will be called. In a horizontally-compact environment the master view controller or detail view controller is sent the showViewController:sender: message. If neither one of them provide an implementation for this method then it will fall back to a full screen presentation.- Overrides:
showDetailViewControllerSenderin classUIViewController
-
showViewControllerSender
public void showViewControllerSender(UIViewController vc, java.lang.Object sender)
In a horizontally-regular environment this will set either the master or detail view controller depending on the original target. In a compact environment this defaults to a full screen presentation. In general the master or detail view controller will have implemented showViewController:sender: so this method would not be invoked.- Overrides:
showViewControllerSenderin classUIViewController
-
viewControllers
public NSArray<? extends UIViewController> viewControllers()
-setViewController:forColumn:/-viewControllerForColumn: recommended for column-style UISplitViewController
-
primaryEdge
public long primaryEdge()
default: UISplitViewControllerPrimaryEdgeLeading
-
setPrimaryEdge
public void setPrimaryEdge(long value)
default: UISplitViewControllerPrimaryEdgeLeading
-
primaryBackgroundStyle
public long primaryBackgroundStyle()
The background style of the primary view controller.
-
setPrimaryBackgroundStyle
public void setPrimaryBackgroundStyle(long value)
The background style of the primary view controller.
-
hideColumn
public void hideColumn(long column)
-hideColumn: and -showColumn: do not accept the Compact column Collapsed: -hideColumn: always ignored for the Primary column, or if the requested column is not on top; otherwise the column is popped -showColumn: pushes the column (and any intervening columns) if the column is not in the stack; does nothing if the column is on top; pops any covering columns if the column is in the stack but not on top Expanded: -hideColumn: ignored for the Secondary column; ignored when the column is not visible in the current displayMode; otherwise animates to the nearest displayMode where the column is not visible -showColumn: ignored for the Secondary column; ignored when the column is already visible in the current displayMode; otherwise animates to the nearest displayMode where the column is visible If an animation is started due to -show/hideColumn:, the transitionCoordinator for the UISplitViewController is available following the -show/hideColumn: message.
-
initWithStyle
public UISplitViewController initWithStyle(long style)
-
maximumSupplementaryColumnWidth
public double maximumSupplementaryColumnWidth()
-
minimumSupplementaryColumnWidth
public double minimumSupplementaryColumnWidth()
-
preferredPrimaryColumnWidth
public double preferredPrimaryColumnWidth()
default: UISplitViewControllerAutomaticDimension
-
preferredSplitBehavior
public long preferredSplitBehavior()
default Automatic, actual behavior will be determined by width buckets and view aspect ration
-
preferredSupplementaryColumnWidth
public double preferredSupplementaryColumnWidth()
-
preferredSupplementaryColumnWidthFraction
public double preferredSupplementaryColumnWidthFraction()
Same as the "Primary" versions but applying to the Supplementary column for the triple-column style UISplitViewController
-
setMaximumSupplementaryColumnWidth
public void setMaximumSupplementaryColumnWidth(double value)
-
setMinimumSupplementaryColumnWidth
public void setMinimumSupplementaryColumnWidth(double value)
-
setPreferredPrimaryColumnWidth
public void setPreferredPrimaryColumnWidth(double value)
default: UISplitViewControllerAutomaticDimension
-
setPreferredSplitBehavior
public void setPreferredSplitBehavior(long value)
default Automatic, actual behavior will be determined by width buckets and view aspect ration
-
setPreferredSupplementaryColumnWidth
public void setPreferredSupplementaryColumnWidth(double value)
-
setPreferredSupplementaryColumnWidthFraction
public void setPreferredSupplementaryColumnWidthFraction(double value)
Same as the "Primary" versions but applying to the Supplementary column for the triple-column style UISplitViewController
-
setShowsSecondaryOnlyButton
public void setShowsSecondaryOnlyButton(boolean value)
Default NO. The secondary-only shortcut button is applicable only for UISplitViewControllerStyleTripleColumn
-
setViewControllerForColumn
public void setViewControllerForColumn(UIViewController vc, long column)
If the vc is not a UINavigationController, one will be created, except for UISplitViewControllerColumnCompact.
-
showColumn
public void showColumn(long column)
-
showsSecondaryOnlyButton
public boolean showsSecondaryOnlyButton()
Default NO. The secondary-only shortcut button is applicable only for UISplitViewControllerStyleTripleColumn
-
splitBehavior
public long splitBehavior()
-
style
public long style()
For information only, will not be called from UIKit code
-
supplementaryColumnWidth
public double supplementaryColumnWidth()
-
viewControllerForColumn
public UIViewController viewControllerForColumn(long column)
-
-