@class UIView, NSString, UILongPressGestureRecognizer, UISegment, UIVisualEffect, UIImageView, NSMutableArray, _UIHostedFocusSystem, UIColor; @interface UISegmentedControl : UIControl <_UIBasicAnimationFactory, UIPopoverPresentationControllerDelegate, _UIHostedFocusSystemDelegate, CAAnimationDelegate, NSCoding> { UIView *_selectionIndicatorView; UIImageView *_selectionImageView; UIView *_highlightIndicatorView; UIImageView *_highlightImageView; UIView *_backdropView; NSMutableArray *_segments; long long _selectedSegment; long long _highlightedSegment; long long _selectionIndicatorSegment; long long _hoveredSegment; UISegment *_focusedSegment; long long _barStyle; id _appearanceStorage; double _enabledAlpha; UIColor *_selectedSegmentTintColor; UIColor *_backgroundTintColor; UIVisualEffect *_selectedSegmentVisualEffect; double _innerSegmentSpacing; struct { unsigned char size : 2; unsigned char delegateAlwaysNotifiesDelegateOfSegmentClicks : 1; unsigned char momentaryClick : 1; unsigned char tracking : 1; unsigned char autosizeToFitSegments : 1; unsigned char isSizingToFit : 1; unsigned char autosizeText : 1; unsigned char transparentBackground : 1; unsigned char useProportionalWidthSegments : 1; unsigned char translucentBackground : 1; unsigned char appearanceNeedsUpdate : 1; unsigned char selectionIndicatorDragged : 1; unsigned char useInnerSegmentSpacing : 1; unsigned char adjustsForContentSizeCategory : 1; unsigned char useDynamicShadow : 1; unsigned char animatingOutDynamicShadow : 1; unsigned char animatingSeleciton : 1; unsigned char animatingHoverOut : 1; unsigned char styleProviderSupportsExtraTraitCollectionChagnes : 1; unsigned char styleProviderSupportsSegmentHighlightAnimation : 1; unsigned char appCustomizedSelectedVisualEffect : 1; unsigned char overridesCustomInfoViewForSegments : 1; unsigned char styleProviderSupportsActiveSegmentControl : 1; } _segmentedControlFlags; } @property (retain, nonatomic) UIView *removedSegment; @property (retain, nonatomic) UILongPressGestureRecognizer *axLongPressGestureRecognizer; @property (readonly, nonatomic, getter=_internalFocusSystem) _UIHostedFocusSystem *internalFocusSystem; @property (readonly, getter=_useDynamicShadow) BOOL useDynamicShadow; @property (getter=_animatingOutDynamicShadow, setter=_setAnimatingOutDynamicShdaow:) BOOL animatingOutDynamicShadow; @property int controlSize; @property (nonatomic) long long segmentedControlStyle; @property (nonatomic, getter=isMomentary) BOOL momentary; @property (readonly, nonatomic) unsigned long long numberOfSegments; @property (nonatomic) BOOL apportionsSegmentWidthsByContent; @property (nonatomic) long long selectedSegmentIndex; @property (retain, nonatomic) UIColor *selectedSegmentTintColor; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (BOOL)automaticallyNotifiesObserversForKey:(id)a0; + (double)defaultHeight; + (double)_sectionIndicatorInsetForTraitCollection:(id)a0 size:(int)a1; + (double)_cornerRadiusForTraitCollection:(id)a0 size:(int)a1; + (struct CGColor { } *)_backgroundPrimaryColorSelected:(BOOL)a0 highlighted:(BOOL)a1 traitCollection:(id)a2 tintColor:(id)a3; + (double)_defaultHeight; + (double)_defaultHeightForTraitCollection:(id)a0 size:(int)a1; + (struct CGColor { } *)_dividerPrimaryColorBackground:(BOOL)a0 traitCollection:(id)a1 tintColor:(id)a2; + (double)_dividerWidthForTraitCollection:(id)a0 size:(int)a1; + (id)_fontForTraitCollection:(id)a0 size:(int)a1 selected:(BOOL)a2; + (struct CATransform3D { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; double x12; double x13; double x14; double x15; })_hiddenSelectionTransformForTraitCollection:(id)a0; + (id)_highlightPinchAnimationForKey:(id)a0 fromValue:(id)a1 toValue:(id)a2; + (struct CATransform3D { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; double x12; double x13; double x14; double x15; })_highlightSelectionTransformForTraitCollection:(id)a0; + (double)_lineWidthForTraitCollection:(id)a0 size:(int)a1; + (id)_modernBackgroundSelected:(BOOL)a0 shadow:(long long)a1 maximumSize:(struct CGSize { double x0; double x1; })a2 highlighted:(BOOL)a3 traitCollection:(id)a4 tintColor:(id)a5 size:(int)a6; + (id)_modernDividerImageBackground:(BOOL)a0 traitCollection:(id)a1 tintColor:(id)a2 size:(int)a3; + (void)_registerStyleProvider:(id)a0 forIdiom:(long long)a1; + (double)_sectionIndicatorOverflowForTraitCollection:(id)a0 size:(int)a1; + (BOOL)_selectFocusedSegmentAfterFocusUpdateForTraitCollection:(id)a0; + (id)_selectionFadeAnimationForKey:(id)a0 fromValue:(id)a1 toValue:(id)a2; + (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_selectionFrameForBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 size:(int)a1 traitCollection:(id)a2 accessibilityView:(BOOL)a3; + (double)_selectionOffsetAdjustmentForSegment:(id)a0; + (id)_selectionOpacityAnimationFromValue:(float)a0 toValue:(float)a1; + (id)_selectionPopAnimationForKey:(id)a0 fromValue:(id)a1 toValue:(id)a2; + (BOOL)_updateDynamicShadowView:(id)a0 withAnimationDelegate:(id)a1 useDynamicShadow:(BOOL)a2 animated:(BOOL)a3; + (BOOL)_useShadowForSelectedTintColor:(id)a0 traitCollection:(id)a1; + (double)defaultHeightForStyle:(long long)a0; + (double)defaultHeightForStyle:(long long)a0 size:(int)a1; - (void)pointerInteraction:(id)a0 willExitRegion:(id)a1 animator:(id)a2; - (void)touchesCancelled:(id)a0 withEvent:(id)a1; - (void)setBarStyle:(long long)a0; - (id)viewForLastBaselineLayout; - (void)_setTitleTextAttributes:(id)a0 forState:(unsigned long long)a1; - (BOOL)pointMostlyInside:(struct CGPoint { double x0; double x1; })a0 withEvent:(id)a1; - (void)animationDidStop:(id)a0 finished:(BOOL)a1; - (id)initWithItems:(id)a0; - (void)pressesEnded:(id)a0 withEvent:(id)a1; - (long long)barStyle; - (void)pointerInteraction:(id)a0 willEnterRegion:(id)a1 animator:(id)a2; - (void)dealloc; - (long long)adaptivePresentationStyleForPresentationController:(id)a0; - (id)_defaultFocusEffect; - (void)setTitleTextAttributes:(id)a0 forState:(unsigned long long)a1; - (unsigned long long)_controlEventsForActionTriggered; - (BOOL)_contentHuggingDefault_isUsuallyFixedHeight; - (double)_backgroundVerticalPositionAdjustmentForBarMetrics:(long long)a0; - (void)_setBackgroundImage:(id)a0 forState:(unsigned long long)a1 barMetrics:(long long)a2; - (void)traitCollectionDidChange:(id)a0; - (struct CGSize { double x0; double x1; })_intrinsicSizeWithinSize:(struct CGSize { double x0; double x1; })a0; - (void)_setBackgroundVerticalPositionAdjustment:(double)a0 forBarMetrics:(long long)a1; - (BOOL)canBecomeFocused; - (id)_basicAnimationForView:(id)a0 withKeyPath:(id)a1; - (void)encodeWithCoder:(id)a0; - (void)sizeToFit; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })bounds; - (void)_updateSelectionIndicator; - (id)_tintColorArchivingKey; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)pressesBegan:(id)a0 withEvent:(id)a1; - (void)removeAllSegments; - (void)setFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)setEnabled:(BOOL)a0; - (struct { double x0; double x1; })_baselineOffsetsAtSize:(struct CGSize { double x0; double x1; })a0; - (BOOL)gestureRecognizerShouldBegin:(id)a0; - (void)pressesChanged:(id)a0 withEvent:(id)a1; - (void)touchesBegan:(id)a0 withEvent:(id)a1; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })alignmentRectInsets; - (BOOL)isSpringLoaded; - (void)setSpringLoaded:(BOOL)a0; - (void)setAlpha:(double)a0; - (id)_viewToAddFocusLayer; - (id)pointerInteraction:(id)a0 regionForRequest:(id)a1 defaultRegion:(id)a2; - (void)setBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (double)_barHeight; - (void).cxx_destruct; - (id)titleTextAttributesForState:(unsigned long long)a0; - (id)pointerInteraction:(id)a0 styleForRegion:(id)a1; - (void)didUpdateFocusInContext:(id)a0 withAnimationCoordinator:(id)a1; - (void)_didMoveFromWindow:(id)a0 toWindow:(id)a1; - (void)touchesEnded:(id)a0 withEvent:(id)a1; - (void)setAdjustsForContentSizeCategory:(BOOL)a0; - (void)setDelegate:(id)a0; - (long long)adaptivePresentationStyleForPresentationController:(id)a0 traitCollection:(id)a1; - (void)_setNeedsAppearanceUpdate; - (void)layoutSubviews; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })frame; - (void)touchesMoved:(id)a0 withEvent:(id)a1; - (void)updateForMiniBarState:(BOOL)a0; - (void)_highlightSegment:(long long)a0; - (void)pressesCancelled:(id)a0 withEvent:(id)a1; - (id)initWithCoder:(id)a0; - (void)_updateDynamicShadow:(BOOL)a0 animated:(BOOL)a1; - (BOOL)useBlockyMagnificationInClassic; - (struct CGSize { double x0; double x1; })sizeThatFits:(struct CGSize { double x0; double x1; })a0; - (void)__initWithFrameCommonOperations; - (void)_diagnoseFocusabilityForReport:(id)a0; - (BOOL)_shouldConsumeEventWithPresses:(id)a0; - (struct CGSize { double x0; double x1; })contentOffsetForSegmentAtIndex:(unsigned long long)a0; - (void)hoverOnSegment:(long long)a0; - (void)_insertSelectionViewForSegment:(id)a0; - (void)_setSegmentedControlAppearance:(struct { id x0; double x1; double x2; struct { id x0; id x1; id x2; id x3; id x4; struct CGSize { double x0; double x1; } x5; } x3; struct { id x0; id x1; id x2; id x3; id x4; struct CGSize { double x0; double x1; } x5; } x4; struct { id x0; id x1; id x2; id x3; id x4; struct CGSize { double x0; double x1; } x5; } x5; struct { id x0; id x1; id x2; id x3; id x4; struct CGSize { double x0; double x1; } x5; } x6; BOOL x7; } *)a0; - (long long)selectedSegment; - (id)__selectedSegmentVisualEffect; - (id)_accessibilitySegmentItemAtIndex:(unsigned long long)a0; - (BOOL)_alwaysEmitValueChanged; - (void)_animateContentChangeWithAnimations:(id /* block */)a0 completion:(id /* block */)a1; - (BOOL)_animateHighlightingSelectionByDefault; - (id)_attributedTitleForSegmentAtIndex:(unsigned long long)a0; - (void)_axLongPressHandler:(id)a0; - (id)_backgroundTintColor; - (id)_badgeValueForSegmentAtIndex:(unsigned long long)a0; - (void)_cancelDelayedFocusAction; - (void)_clearSelectedSegment; - (int)_closestSegmentIndexAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)_commonSegmentedControlInit; - (id)_createAndAddSegmentAtIndex:(int)a0 position:(unsigned int)a1 withInfo:(id)a2; - (id)_createInfoViewForSegmentAtIndex:(unsigned long long)a0 item:(id)a1; - (id)_createSegmentAtIndex:(int)a0 position:(unsigned int)a1 withInfo:(id)a2; - (BOOL)_disableSlidingControl; - (void)_emitValueChanged; - (id)_focusMapContainerForFocusSystem:(id)a0; - (BOOL)_focusSystem:(id)a0 containsChildOfHostEnvironment:(id)a1; - (void)_focusSystem:(id)a0 didFinishUpdatingFocusInContext:(id)a1; - (BOOL)_hasEnabledSegment; - (void)_insertHighlightView; - (void)_insertSegment:(int)a0 withInfo:(id)a1 animated:(BOOL)a2; - (void)_insertSegmentWithAttributedTitle:(id)a0 atIndex:(unsigned long long)a1 animated:(BOOL)a2; - (void)_installVisualStyleDefaults; - (double)_interSegmentSpacing; - (id)_preferredFocusEnvironmentsForFocusSystem:(id)a0; - (void)_resetForAppearanceChange; - (id)_segmentAtIndex:(int)a0; - (long long)_segmentIndexToHighlight:(BOOL *)a0; - (void)_selectFocusedSegment; - (id)_selectedSegmentVibrancyEffect; - (void)_sendDelayedFocusActionIfNecessary; - (void)_sendValueChanged; - (void)_setAction:(id)a0 forSegmentAtIndex:(unsigned long long)a1; - (void)_setAlwaysEmitValueChanged:(BOOL)a0; - (void)_setAppearanceIsTiled:(BOOL)a0 leftCapWidth:(unsigned long long)a1 rightCapWidth:(unsigned long long)a2; - (void)_setAttributedTitle:(id)a0 forSegmentAtIndex:(unsigned long long)a1; - (void)_setAutosizeText:(BOOL)a0; - (void)_setBackgroundTintColor:(id)a0; - (void)_setBadgeValue:(id)a0 forSegmentAtIndex:(unsigned long long)a1; - (void)_setControlSize:(int)a0 andInvalidate:(BOOL)a1; - (void)_setDividerImage:(id)a0 forLeftSegmentState:(unsigned long long)a1 rightSegmentState:(unsigned long long)a2 barMetrics:(long long)a3; - (void)_setEnabled:(BOOL)a0 forcePropagateToSegments:(BOOL)a1; - (void)_setHighlightedSegmentHighlighted:(BOOL)a0; - (void)_setHoverOnSegment:(long long)a0 hovered:(BOOL)a1; - (void)_setInterSegmentSpacing:(double)a0; - (void)_setNeedsBackgroundAndContentViewUpdate; - (void)_setSelected:(BOOL)a0 forSegmentAtIndex:(int)a1 forceInfoDisplay:(BOOL)a2; - (void)_setSelected:(BOOL)a0 highlighted:(BOOL)a1 forSegmentAtIndex:(int)a2 forceInfoDisplay:(BOOL)a3; - (void)_setSelectedSegmentIndex:(long long)a0 notify:(BOOL)a1; - (void)_setSelectedSegmentIndex:(long long)a0 notify:(BOOL)a1 animate:(BOOL)a2; - (void)_setSelectedSegmentVibrancyEffect:(id)a0; - (void)_setUsesNewAnimations:(BOOL)a0; - (BOOL)_shouldSelectSegmentAtIndex:(long long)a0; - (void)_tapSegmentAtPoint:(struct CGPoint { double x0; double x1; })a0 touchDown:(BOOL)a1; - (id)_uiktest_labelsWithState:(unsigned long long)a0; - (id)_uiktest_segmentAtIndex:(unsigned long long)a0; - (void)_updateAxLongPressGestureRecognizer; - (void)_updateDividerImageForSegmentAtIndex:(unsigned long long)a0; - (void)_updateHighlightToPosition:(struct CGPoint { double x0; double x1; })a0 bounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 highlight:(BOOL)a2; - (void)_updateSelectionToSegment:(id)a0 highlight:(BOOL)a1 shouldAnimate:(BOOL)a2 sameSegment:(BOOL)a3; - (BOOL)_usesNewAnimations; - (id)_viewForLoweringBaselineLayoutAttribute:(int)a0; - (id)actionForSegmentAtIndex:(unsigned long long)a0; - (void)addSegmentWithTitle:(id)a0; - (BOOL)adjustsForContentSizeCategory; - (id)backgroundImageForState:(unsigned long long)a0 barMetrics:(long long)a1; - (struct CGSize { double x0; double x1; })contentOffsetForSegment:(unsigned long long)a0; - (struct UIOffset { double x0; double x1; })contentPositionAdjustmentForSegmentType:(long long)a0 barMetrics:(long long)a1; - (id)dividerImageForLeftSegmentState:(unsigned long long)a0 rightSegmentState:(unsigned long long)a1 barMetrics:(long long)a2; - (void)hoverOffSegment:(long long)a0; - (id)imageForSegment:(unsigned long long)a0; - (id)imageForSegmentAtIndex:(unsigned long long)a0; - (id)infoViewForSegment:(long long)a0; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 actions:(id)a1; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 withStyle:(long long)a1 withItems:(id)a2; - (void)insertSegment:(unsigned long long)a0 withImage:(id)a1 animated:(BOOL)a2; - (void)insertSegment:(unsigned long long)a0 withTitle:(id)a1 animated:(BOOL)a2; - (void)insertSegmentWithAction:(id)a0 atIndex:(unsigned long long)a1 animated:(BOOL)a2; - (void)insertSegmentWithImage:(id)a0 atIndex:(unsigned long long)a1 animated:(BOOL)a2; - (void)insertSegmentWithTitle:(id)a0 atIndex:(unsigned long long)a1 animated:(BOOL)a2; - (BOOL)isEnabledForSegment:(unsigned long long)a0; - (BOOL)isEnabledForSegmentAtIndex:(unsigned long long)a0; - (void)removeSegment:(unsigned long long)a0 animated:(BOOL)a1; - (void)removeSegmentAtIndex:(unsigned long long)a0 animated:(BOOL)a1; - (long long)segmentControlStyle; - (long long)segmentIndexForActionIdentifier:(id)a0; - (void)selectSegment:(int)a0; - (void)setAction:(id)a0 forSegmentAtIndex:(unsigned long long)a1; - (void)setAlwaysNotifiesDelegateOfSegmentClicks:(BOOL)a0; - (void)setBackgroundImage:(id)a0 forState:(unsigned long long)a1 barMetrics:(long long)a2; - (void)setContentOffset:(struct CGSize { double x0; double x1; })a0 forSegment:(unsigned long long)a1; - (void)setContentOffset:(struct CGSize { double x0; double x1; })a0 forSegmentAtIndex:(unsigned long long)a1; - (void)setContentPositionAdjustment:(struct UIOffset { double x0; double x1; })a0 forSegmentType:(long long)a1 barMetrics:(long long)a2; - (void)setDividerImage:(id)a0 forLeftSegmentState:(unsigned long long)a1 rightSegmentState:(unsigned long long)a2 barMetrics:(long long)a3; - (void)setEnabled:(BOOL)a0 forSegment:(unsigned long long)a1; - (void)setEnabled:(BOOL)a0 forSegmentAtIndex:(unsigned long long)a1; - (void)setImage:(id)a0 forSegment:(unsigned long long)a1; - (void)setImage:(id)a0 forSegmentAtIndex:(unsigned long long)a1; - (void)setImagePadding:(struct CGSize { double x0; double x1; })a0 forSegment:(unsigned long long)a1; - (void)setSegmentControlStyle:(long long)a0; - (void)setSelectedSegment:(long long)a0; - (void)setTitle:(id)a0 forSegment:(unsigned long long)a1; - (void)setTitle:(id)a0 forSegmentAtIndex:(unsigned long long)a1; - (void)setTransparentBackground:(BOOL)a0; - (void)setWidth:(float)a0 forSegment:(unsigned long long)a1; - (void)setWidth:(double)a0 forSegmentAtIndex:(unsigned long long)a1; - (BOOL)shouldTrack; - (id)titleForSegment:(unsigned long long)a0; - (id)titleForSegmentAtIndex:(unsigned long long)a0; - (BOOL)transparentBackground; - (float)widthForSegment:(unsigned long long)a0; - (double)widthForSegmentAtIndex:(unsigned long long)a0; @end