{"id":10,"date":"2022-11-20T09:26:45","date_gmt":"2022-11-20T01:26:45","guid":{"rendered":"http:\/\/www.qirimi.com\/?p=10"},"modified":"2023-01-20T11:36:45","modified_gmt":"2023-01-20T03:36:45","slug":"uiview%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"http:\/\/www.qirimi.com\/index.php\/2022\/11\/20\/uiview%e8%af%a6%e8%a7%a3\/","title":{"rendered":"iOS\u5f00\u53d1 \u4e4b UIView\u8be6\u89e3"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>\/\/\n\/\/  UIView.h\n\/\/  ZMHeaderFile\n\/\/\n\/\/  Created by ZengZhiming on 2017\/5\/22.\n\/\/  Copyright \u00a9 2017\u5e74 \u83dc\u9e1f\u57fa\u5730. All rights reserved.\n\/\/\n\/\/  \u8be6\u89e3 UIResponder.h\n\/\/  Version iOS 10.3\n\/\/\n \n#import &lt;Foundation\/Foundation.h&gt;\n#import &lt;QuartzCore\/QuartzCore.h&gt;\n#import &lt;UIKit\/UIResponder.h&gt;\n#import &lt;UIKit\/UIInterface.h&gt;\n#import &lt;UIKit\/UIKitDefines.h&gt;\n#import &lt;UIKit\/UIAppearance.h&gt;\n#import &lt;UIKit\/UIDynamicBehavior.h&gt;\n#import &lt;UIKit\/NSLayoutConstraint.h&gt;\n#import &lt;UIKit\/UITraitCollection.h&gt;\n#import &lt;UIKit\/UIFocus.h&gt;\n \nNS_ASSUME_NONNULL_BEGIN\n \n\/** \u52a8\u753b\u7684\u66f2\u7ebf\u679a\u4e3e *\/\ntypedef NS_ENUM(NSInteger, UIViewAnimationCurve) {\n    UIViewAnimationCurveEaseInOut,  \/\/!&lt; \u6162\u8fdb\u6162\u51fa\uff08\u9ed8\u8ba4\u503c\uff09.\n    UIViewAnimationCurveEaseIn,     \/\/!&lt; \u6162\u8fdb.\n    UIViewAnimationCurveEaseOut,    \/\/!&lt; \u6162\u51fa.\n    UIViewAnimationCurveLinear,     \/\/!&lt; \u5300\u901f.\n};\n \n\/\/!&lt; UIView\u5185\u5bb9\u586b\u5145\u6a21\u5f0f.\ntypedef NS_ENUM(NSInteger, UIViewContentMode) {\n    UIViewContentModeScaleToFill,       \/\/!&lt; \u7f29\u653e\u5185\u5bb9\u5230\u5408\u9002\u6bd4\u4f8b\u5927\u5c0f.\n    UIViewContentModeScaleAspectFit,    \/\/!&lt; \u7f29\u653e\u5185\u5bb9\u5230\u5408\u9002\u7684\u5927\u5c0f\uff0c\u8fb9\u754c\u591a\u4f59\u90e8\u5206\u900f\u660e.\n    UIViewContentModeScaleAspectFill,   \/\/!&lt; \u7f29\u653e\u5185\u5bb9\u586b\u5145\u5230\u6307\u5b9a\u5927\u5c0f\uff0c\u8fb9\u754c\u591a\u4f59\u7684\u90e8\u5206\u7701\u7565.\n    UIViewContentModeRedraw,            \/\/!&lt; \u91cd\u7ed8\u89c6\u56fe\u8fb9\u754c (\u9700\u8c03\u7528 -setNeedsDisplay).\n    UIViewContentModeCenter,            \/\/!&lt; \u89c6\u56fe\u4fdd\u6301\u7b49\u6bd4\u7f29\u653e.\n    UIViewContentModeTop,               \/\/!&lt; \u89c6\u56fe\u9876\u90e8\u5bf9\u9f50.\n    UIViewContentModeBottom,            \/\/!&lt; \u89c6\u56fe\u5e95\u90e8\u5bf9\u9f50.\n    UIViewContentModeLeft,              \/\/!&lt; \u89c6\u56fe\u5de6\u4fa7\u5bf9\u9f50.\n    UIViewContentModeRight,             \/\/!&lt; \u89c6\u56fe\u53f3\u4fa7\u5bf9\u9f50.\n    UIViewContentModeTopLeft,           \/\/!&lt; \u89c6\u56fe\u5de6\u4e0a\u89d2\u5bf9\u9f50.\n    UIViewContentModeTopRight,          \/\/!&lt; \u89c6\u56fe\u53f3\u4e0a\u89d2\u5bf9\u9f50.\n    UIViewContentModeBottomLeft,        \/\/!&lt; \u89c6\u56fe\u5de6\u4e0b\u89d2\u5bf9\u9f50.\n    UIViewContentModeBottomRight,       \/\/!&lt; \u89c6\u56fe\u53f3\u4e0b\u89d2\u5bf9\u9f50.\n};\n \n\/** UIView\u52a8\u753b\u8fc7\u6e21\u6548\u679c *\/\ntypedef NS_ENUM(NSInteger, UIViewAnimationTransition) {\n    UIViewAnimationTransitionNone,          \/\/!&lt; \u65e0\u6548\u679c.\n    UIViewAnimationTransitionFlipFromLeft,  \/\/!&lt; \u6cbf\u89c6\u56fe\u5782\u76f4\u4e2d\u5fc3\u8f74\u5de6\u5230\u53f3\u79fb\u52a8.\n    UIViewAnimationTransitionFlipFromRight, \/\/!&lt; \u6cbf\u89c6\u56fe\u5782\u76f4\u4e2d\u5fc3\u8f74\u53f3\u5230\u5de6\u79fb\u52a8.\n    UIViewAnimationTransitionCurlUp,        \/\/!&lt; \u7531\u5e95\u90e8\u5411\u4e0a\u5377\u8d77.\n    UIViewAnimationTransitionCurlDown,      \/\/!&lt; \u7531\u9876\u90e8\u5411\u4e0b\u5c55\u5f00.\n};\n \n\/** \u81ea\u52a8\u8c03\u6574\u5927\u5c0f\u65b9\u5f0f *\/\ntypedef NS_OPTIONS(NSUInteger, UIViewAutoresizing) {\n    UIViewAutoresizingNone                 = 0,     \/\/!&lt; \u4e0d\u81ea\u52a8\u8c03\u6574.\n    UIViewAutoresizingFlexibleLeftMargin   = 1 &lt;&lt; 0,\/\/!&lt; \u81ea\u52a8\u8c03\u6574\u4e0esuperView\u5de6\u8fb9\u7684\u8ddd\u79bb\uff0c\u4fdd\u8bc1\u4e0esuperView\u53f3\u8fb9\u7684\u8ddd\u79bb\u4e0d\u53d8.\n    UIViewAutoresizingFlexibleWidth        = 1 &lt;&lt; 1,\/\/!&lt; \u81ea\u52a8\u8c03\u6574\u81ea\u5df1\u7684\u5bbd\u5ea6\uff0c\u4fdd\u8bc1\u4e0esuperView\u5de6\u8fb9\u548c\u53f3\u8fb9\u7684\u8ddd\u79bb\u4e0d\u53d8.\n    UIViewAutoresizingFlexibleRightMargin  = 1 &lt;&lt; 2,\/\/!&lt; \u81ea\u52a8\u8c03\u6574\u4e0esuperView\u7684\u53f3\u8fb9\u8ddd\u79bb\uff0c\u4fdd\u8bc1\u4e0esuperView\u5de6\u8fb9\u7684\u8ddd\u79bb\u4e0d\u53d8.\n    UIViewAutoresizingFlexibleTopMargin    = 1 &lt;&lt; 3,\/\/!&lt; \u81ea\u52a8\u8c03\u6574\u4e0esuperView\u9876\u90e8\u7684\u8ddd\u79bb\uff0c\u4fdd\u8bc1\u4e0esuperView\u5e95\u90e8\u7684\u8ddd\u79bb\u4e0d\u53d8.\n    UIViewAutoresizingFlexibleHeight       = 1 &lt;&lt; 4,\/\/!&lt; \u81ea\u52a8\u8c03\u6574\u81ea\u5df1\u7684\u9ad8\u5ea6\uff0c\u4fdd\u8bc1\u4e0esuperView\u9876\u90e8\u548c\u5e95\u90e8\u7684\u8ddd\u79bb\u4e0d\u53d8.\n    UIViewAutoresizingFlexibleBottomMargin = 1 &lt;&lt; 5 \/\/!&lt; \u81ea\u52a8\u8c03\u6574\u4e0esuperView\u5e95\u90e8\u7684\u8ddd\u79bb\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u4e0esuperView\u9876\u90e8\u7684\u8ddd\u79bb\u4e0d\u53d8.\n};\n \n\/** UIView\u52a8\u753b\u9009\u9879 *\/\ntypedef NS_OPTIONS(NSUInteger, UIViewAnimationOptions) {\n    UIViewAnimationOptionLayoutSubviews            = 1 &lt;&lt;  0, \/\/!&lt; \u52a8\u753b\u8fc7\u7a0b\u4e2d\u4fdd\u8bc1\u5b50\u89c6\u56fe\u8ddf\u968f\u8fd0\u52a8.\n    UIViewAnimationOptionAllowUserInteraction      = 1 &lt;&lt;  1, \/\/!&lt; \u52a8\u753b\u8fc7\u7a0b\u4e2d\u5141\u8bb8\u7528\u6237\u4ea4\u4e92.\n    UIViewAnimationOptionBeginFromCurrentState     = 1 &lt;&lt;  2, \/\/!&lt; \u6240\u6709\u89c6\u56fe\u4ece\u5f53\u524d\u72b6\u6001\u5f00\u59cb\u8fd0\u884c.\n    UIViewAnimationOptionRepeat                    = 1 &lt;&lt;  3, \/\/!&lt; \u91cd\u590d\u8fd0\u884c\u52a8\u753b.\n    UIViewAnimationOptionAutoreverse               = 1 &lt;&lt;  4, \/\/!&lt; \u52a8\u753b\u8fd0\u884c\u5230\u7ed3\u675f\u70b9\u540e\u4ecd\u7136\u4ee5\u52a8\u753b\u65b9\u5f0f\u56de\u5230\u521d\u59cb\u70b9.\n    UIViewAnimationOptionOverrideInheritedDuration = 1 &lt;&lt;  5, \/\/!&lt; \u5ffd\u7565\u5d4c\u5957\u52a8\u753b\u65f6\u95f4\u8bbe\u7f6e.\n    UIViewAnimationOptionOverrideInheritedCurve    = 1 &lt;&lt;  6, \/\/!&lt; \u5ffd\u7565\u5d4c\u5957\u52a8\u753b\u901f\u5ea6\u8bbe\u7f6e.\n    UIViewAnimationOptionAllowAnimatedContent      = 1 &lt;&lt;  7, \/\/!&lt; \u52a8\u753b\u8fc7\u7a0b\u4e2d\u91cd\u7ed8\u89c6\u56fe\uff08\u6ce8\u610f\u4ec5\u4ec5\u9002\u7528\u4e8e\u8f6c\u573a\u52a8\u753b\uff09.\n    UIViewAnimationOptionShowHideTransitionViews   = 1 &lt;&lt;  8, \/\/!&lt; \u89c6\u56fe\u5207\u6362\u65f6\u76f4\u63a5\u9690\u85cf\u65e7\u89c6\u56fe\u3001\u663e\u793a\u65b0\u89c6\u56fe\uff0c\u800c\u4e0d\u662f\u5c06\u65e7\u89c6\u56fe\u4ece\u7236\u89c6\u56fe\u79fb\u9664\uff08\u4ec5\u4ec5\u9002\u7528\u4e8e\u8f6c\u573a\u52a8\u753b\uff09.\n    UIViewAnimationOptionOverrideInheritedOptions  = 1 &lt;&lt;  9, \/\/!&lt; \u4e0d\u7ee7\u627f\u7236\u52a8\u753b\u8bbe\u7f6e\u6216\u52a8\u753b\u7c7b\u578b.\n    \n    UIViewAnimationOptionCurveEaseInOut            = 0 &lt;&lt; 16, \/\/!&lt; \u52a8\u753b\u5148\u7f13\u6162\uff0c\u7136\u540e\u9010\u6e10\u52a0\u901f.\n    UIViewAnimationOptionCurveEaseIn               = 1 &lt;&lt; 16, \/\/!&lt; \u52a8\u753b\u9010\u6e10\u53d8\u6162.\n    UIViewAnimationOptionCurveEaseOut              = 2 &lt;&lt; 16, \/\/!&lt; \u52a8\u753b\u9010\u6e10\u52a0\u901f.\n    UIViewAnimationOptionCurveLinear               = 3 &lt;&lt; 16, \/\/!&lt; \u52a8\u753b\u5300\u901f\u6267\u884c\uff0c\u9ed8\u8ba4\u503c.\n    \n    UIViewAnimationOptionTransitionNone            = 0 &lt;&lt; 20, \/\/!&lt; \u6ca1\u6709\u8f6c\u573a\u52a8\u753b\u6548\u679c.\n    UIViewAnimationOptionTransitionFlipFromLeft    = 1 &lt;&lt; 20, \/\/!&lt; \u4ece\u5de6\u4fa7\u7ffb\u8f6c\u6548\u679c.\n    UIViewAnimationOptionTransitionFlipFromRight   = 2 &lt;&lt; 20, \/\/!&lt; \u4ece\u53f3\u4fa7\u7ffb\u8f6c\u6548\u679c.\n    UIViewAnimationOptionTransitionCurlUp          = 3 &lt;&lt; 20, \/\/!&lt; \u5411\u540e\u7ffb\u9875\u7684\u52a8\u753b\u8fc7\u6e21\u6548\u679c.\n    UIViewAnimationOptionTransitionCurlDown        = 4 &lt;&lt; 20, \/\/!&lt; \u5411\u524d\u7ffb\u9875\u7684\u52a8\u753b\u8fc7\u6e21\u6548\u679c.\n    UIViewAnimationOptionTransitionCrossDissolve   = 5 &lt;&lt; 20, \/\/!&lt; \u65e7\u89c6\u56fe\u6eb6\u89e3\u6d88\u5931\u663e\u793a\u4e0b\u4e00\u4e2a\u65b0\u89c6\u56fe\u7684\u6548\u679c.\n    UIViewAnimationOptionTransitionFlipFromTop     = 6 &lt;&lt; 20, \/\/!&lt; \u4ece\u4e0a\u65b9\u7ffb\u8f6c\u6548\u679c.\n    UIViewAnimationOptionTransitionFlipFromBottom  = 7 &lt;&lt; 20, \/\/!&lt; \u4ece\u5e95\u90e8\u7ffb\u8f6c\u6548\u679c.\n    \n    UIViewAnimationOptionPreferredFramesPerSecondDefault     = 0 &lt;&lt; 24, \/\/!&lt; \u9ed8\u8ba4\u7684\u5e27\u6bcf\u79d2.\n    UIViewAnimationOptionPreferredFramesPerSecond60          = 3 &lt;&lt; 24, \/\/!&lt; 60\u5e27\u6bcf\u79d2\u7684\u5e27\u901f\u7387.\n    UIViewAnimationOptionPreferredFramesPerSecond30          = 7 &lt;&lt; 24, \/\/!&lt; 30\u5e27\u6bcf\u79d2\u7684\u5e27\u901f\u7387.\n    \n} NS_ENUM_AVAILABLE_IOS(4_0);\n \ntypedef NS_OPTIONS(NSUInteger, UIViewKeyframeAnimationOptions) {\n    UIViewKeyframeAnimationOptionLayoutSubviews            = UIViewAnimationOptionLayoutSubviews, \/\/!&lt; \u52a8\u753b\u8fc7\u7a0b\u4e2d\u4fdd\u8bc1\u5b50\u89c6\u56fe\u8ddf\u968f\u8fd0\u52a8.\n    UIViewKeyframeAnimationOptionAllowUserInteraction      = UIViewAnimationOptionAllowUserInteraction, \/\/!&lt; \u52a8\u753b\u8fc7\u7a0b\u4e2d\u5141\u8bb8\u7528\u6237\u4ea4\u4e92.\n    UIViewKeyframeAnimationOptionBeginFromCurrentState     = UIViewAnimationOptionBeginFromCurrentState, \/\/!&lt; \u6240\u6709\u89c6\u56fe\u4ece\u5f53\u524d\u72b6\u6001\u5f00\u59cb\u8fd0\u884c.\n    UIViewKeyframeAnimationOptionRepeat                    = UIViewAnimationOptionRepeat, \/\/!&lt; \u91cd\u590d\u8fd0\u884c\u52a8\u753b.\n    UIViewKeyframeAnimationOptionAutoreverse               = UIViewAnimationOptionAutoreverse, \/\/!&lt; \u52a8\u753b\u8fd0\u884c\u5230\u7ed3\u675f\u70b9\u540e\u4ecd\u7136\u4ee5\u52a8\u753b\u65b9\u5f0f\u56de\u5230\u521d\u59cb\u70b9.\n    UIViewKeyframeAnimationOptionOverrideInheritedDuration = UIViewAnimationOptionOverrideInheritedDuration, \/\/!&lt; \u5ffd\u7565\u5d4c\u5957\u52a8\u753b\u65f6\u95f4\u8bbe\u7f6e.\n    UIViewKeyframeAnimationOptionOverrideInheritedOptions  = UIViewAnimationOptionOverrideInheritedOptions, \/\/!&lt; \u4e0d\u7ee7\u627f\u7236\u52a8\u753b\u8bbe\u7f6e\u6216\u52a8\u753b\u7c7b\u578b.\n    \n    UIViewKeyframeAnimationOptionCalculationModeLinear     = 0 &lt;&lt; 10, \/\/!&lt; \u8fde\u7eed\u8fd0\u7b97\u6a21\u5f0f, \u9ed8\u8ba4.\n    UIViewKeyframeAnimationOptionCalculationModeDiscrete   = 1 &lt;&lt; 10, \/\/!&lt; \u79bb\u6563\u8fd0\u7b97\u6a21\u5f0f.\n    UIViewKeyframeAnimationOptionCalculationModePaced      = 2 &lt;&lt; 10, \/\/!&lt; \u5747\u5300\u6267\u884c\u8fd0\u7b97\u6a21\u5f0f.\n    UIViewKeyframeAnimationOptionCalculationModeCubic      = 3 &lt;&lt; 10, \/\/!&lt; \u5e73\u6ed1\u8fd0\u7b97\u6a21\u5f0f.\n    UIViewKeyframeAnimationOptionCalculationModeCubicPaced = 4 &lt;&lt; 10  \/\/!&lt; \u5e73\u6ed1\u5747\u5300\u8fd0\u7b97\u6a21\u5f0f.\n} NS_ENUM_AVAILABLE_IOS(7_0);\n \ntypedef NS_ENUM(NSUInteger, UISystemAnimation) {\n    UISystemAnimationDelete,    \/\/!&lt; \u7cfb\u7edf\u5220\u9664\u52a8\u753b\n} NS_ENUM_AVAILABLE_IOS(7_0);\n \ntypedef NS_ENUM(NSInteger, UIViewTintAdjustmentMode) {\n    UIViewTintAdjustmentModeAutomatic,  \/\/!&lt; \u81ea\u52a8\u7684\uff0c\u4e0e\u7236\u89c6\u56fe\u76f8\u540c.\n    \n    UIViewTintAdjustmentModeNormal,     \/\/!&lt; \u672a\u7ecf\u4fee\u6539\u7684.\n    UIViewTintAdjustmentModeDimmed,     \/\/!&lt; \u9971\u548c\u3001\u6697\u6de1\u7684\u539f\u59cb\u8272.\n} NS_ENUM_AVAILABLE_IOS(7_0);\n \ntypedef NS_ENUM(NSInteger, UISemanticContentAttribute) {\n    UISemanticContentAttributeUnspecified = 0,  \/\/!&lt; \u672a\u6307\u5b9a\uff0c\u9ed8\u8ba4\u503c\n    UISemanticContentAttributePlayback,         \/\/!&lt; \u6253\u5f00\/ RW \/ FF\u7b49\u64ad\u653e\u63a7\u5236\u6309\u94ae\n    UISemanticContentAttributeSpatial,          \/\/!&lt; \u63a7\u5236\u5bfc\u81f4\u67d0\u79cd\u5f62\u5f0f\u7684\u5b9a\u5411\u6539\u53d8UI\u4e2d,\u5982\u5206\u6bb5\u63a7\u5236\u6587\u672c\u5bf9\u9f50\u65b9\u5f0f\u6216\u5728\u6e38\u620f\u4e2d\u65b9\u5411\u952e\n    UISemanticContentAttributeForceLeftToRight, \/\/!&lt; \u89c6\u56fe\u603b\u662f\u4ece\u5de6\u5411\u53f3\u5e03\u5c40.\n    UISemanticContentAttributeForceRightToLeft  \/\/!&lt; \u89c6\u56fe\u603b\u662f\u4ece\u53f3\u5411\u5de6\u5e03\u5c40.\n} NS_ENUM_AVAILABLE_IOS(9_0);\n \n@protocol UICoordinateSpace &lt;NSObject&gt;\n \n\/** \u5c06\u50cf\u7d20point\u7531point\u6240\u5728\u89c6\u56fe\u8f6c\u6362\u5230\u76ee\u6807\u89c6\u56feview\u4e2d\uff0c\u8fd4\u56de\u5728\u76ee\u6807\u89c6\u56feview\u4e2d\u7684\u50cf\u7d20\u503c *\/\n- (CGPoint)convertPoint:(CGPoint)point toCoordinateSpace:(id &lt;UICoordinateSpace&gt;)coordinateSpace NS_AVAILABLE_IOS(8_0);\n\/** \u5c06\u50cf\u7d20point\u7531point\u6240\u5728\u89c6\u56fe\u8f6c\u6362\u5230\u76ee\u6807\u89c6\u56feview\u4e2d\uff0c\u8fd4\u56de\u5728\u76ee\u6807\u89c6\u56feview\u4e2d\u7684\u50cf\u7d20\u503c *\/\n- (CGPoint)convertPoint:(CGPoint)point fromCoordinateSpace:(id &lt;UICoordinateSpace&gt;)coordinateSpace NS_AVAILABLE_IOS(8_0);\n\/** \u5c06rect\u7531rect\u6240\u5728\u89c6\u56fe\u8f6c\u6362\u5230\u76ee\u6807\u89c6\u56feview\u4e2d\uff0c\u8fd4\u56de\u5728\u76ee\u6807\u89c6\u56feview\u4e2d\u7684rect *\/\n- (CGRect)convertRect:(CGRect)rect toCoordinateSpace:(id &lt;UICoordinateSpace&gt;)coordinateSpace NS_AVAILABLE_IOS(8_0);\n\/** \u5c06rect\u4eceview\u4e2d\u8f6c\u6362\u5230\u5f53\u524d\u89c6\u56fe\u4e2d\uff0c\u8fd4\u56de\u5728\u5f53\u524d\u89c6\u56fe\u4e2d\u7684rect *\/\n- (CGRect)convertRect:(CGRect)rect fromCoordinateSpace:(id &lt;UICoordinateSpace&gt;)coordinateSpace NS_AVAILABLE_IOS(8_0);\n \n\/** \u83b7\u53d6bounds *\/\n@property (readonly, nonatomic) CGRect bounds NS_AVAILABLE_IOS(8_0);\n \n@end\n \n@class UIBezierPath, UIEvent, UIWindow, UIViewController, UIColor, UIGestureRecognizer, UIMotionEffect, CALayer, UILayoutGuide;\n \nNS_CLASS_AVAILABLE_IOS(2_0) @interface UIView : UIResponder &lt;NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, CALayerDelegate&gt;\n \n\/** \u8fd4\u56de\u4e3blayer\u6240\u4f7f\u7528\u7684\u7c7b *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(class, nonatomic, readonly) Class layerClass;\n#else\n+ (Class)layerClass;\n#endif\n \n\/** \u901a\u8fc7Frame\u521d\u59cb\u5316UI\u5bf9\u8c61 *\/\n- (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;\n\/** \u7528\u4e8exib\u521d\u59cb\u5316 *\/\n- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;\n \n\/** \u8bbe\u7f6e\u7528\u6237\u4ea4\u4e92\uff0c\u9ed8\u8ba4YES\u5141\u8bb8\u7528\u6237\u4ea4\u4e92 *\/\n@property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;\n\/** \u63a7\u4ef6\u6807\u8bb0(\u7236\u63a7\u4ef6\u53ef\u4ee5\u901a\u8fc7tag\u627e\u5230\u5bf9\u5e94\u7684\u5b50\u63a7\u4ef6)\uff0c\u9ed8\u8ba4\u4e3a0 *\/\n@property(nonatomic)                                 NSInteger tag;\n\/** \u89c6\u56fe\u56fe\u5c42(\u53ef\u4ee5\u7528\u6765\u8bbe\u7f6e\u5706\u89d2\u6548\u679c\/\u9634\u5f71\u6548\u679c) *\/\n@property(nonatomic,readonly,strong)                 CALayer  *layer;\n \n\/** \u8fd4\u56de\u662f\u5426\u53ef\u4ee5\u6210\u4e3a\u7126\u70b9, \u9ed8\u8ba4NO *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(nonatomic,readonly) BOOL canBecomeFocused NS_AVAILABLE_IOS(9_0);\n#else\n- (BOOL)canBecomeFocused NS_AVAILABLE_IOS(9_0);\n#endif\n\/** \u662f\u5426\u53ef\u4ee5\u88ab\u805a\u7126 *\/\n@property (readonly, nonatomic, getter=isFocused) BOOL focused NS_AVAILABLE_IOS(9_0);\n \n\/** \u5de6\u53f3\u6ed1\u52a8\u7ffb\u8f6c\u6548\u679c *\/\n@property (nonatomic) UISemanticContentAttribute semanticContentAttribute NS_AVAILABLE_IOS(9_0);\n \n\/** \u83b7\u53d6\u89c6\u56fe\u7684\u65b9\u5411 *\/\n+ (UIUserInterfaceLayoutDirection)userInterfaceLayoutDirectionForSemanticContentAttribute:(UISemanticContentAttribute)attribute NS_AVAILABLE_IOS(9_0);\n \n\/** \u83b7\u53d6\u76f8\u5bf9\u4e8e\u6307\u5b9a\u89c6\u56fe\u7684\u754c\u9762\u65b9\u5411 *\/\n+ (UIUserInterfaceLayoutDirection)userInterfaceLayoutDirectionForSemanticContentAttribute:(UISemanticContentAttribute)semanticContentAttribute relativeToLayoutDirection:(UIUserInterfaceLayoutDirection)layoutDirection NS_AVAILABLE_IOS(10_0);\n \n\/** \u8fd4\u56de\u5373\u65f6\u5185\u5bb9\u7684\u5e03\u5c40\u7684\u65b9\u5411 *\/\n@property (readonly, nonatomic) UIUserInterfaceLayoutDirection effectiveUserInterfaceLayoutDirection NS_AVAILABLE_IOS(10_0);\n \n@end\n \n@interface UIView(UIViewGeometry)\n \n\/** \u4f4d\u7f6e\u548c\u5c3a\u5bf8(\u4ee5\u7236\u63a7\u4ef6\u7684\u5de6\u4e0a\u89d2\u4e3a\u5750\u6807\u539f\u70b9(0, 0)) *\/\n@property(nonatomic) CGRect            frame;\n \n\/** \u4f4d\u7f6e\u548c\u5c3a\u5bf8(\u4ee5\u81ea\u5df1\u7684\u5de6\u4e0a\u89d2\u4e3a\u5750\u6807\u539f\u70b9(0, 0)) *\/\n@property(nonatomic) CGRect            bounds;\n\/** \u4e2d\u5fc3\u70b9(\u4ee5\u7236\u63a7\u4ef6\u7684\u5de6\u4e0a\u89d2\u4e3a\u5750\u6807\u539f\u70b9(0, 0)) *\/\n@property(nonatomic) CGPoint           center;\n\/** \u53d8\u5f62\u5c5e\u6027(\u5e73\u79fb\\\u7f29\u653e\\\u65cb\u8f6c) *\/\n@property(nonatomic) CGAffineTransform transform;\n\/** \u89c6\u56fe\u5185\u5bb9\u7684\u7f29\u653e\u6bd4\u4f8b *\/\n@property(nonatomic) CGFloat           contentScaleFactor NS_AVAILABLE_IOS(4_0);\n \n\/** \u662f\u5426\u652f\u6301\u591a\u70b9\u89e6\u6478\uff0c\u9ed8\u8ba4NO *\/\n@property(nonatomic,getter=isMultipleTouchEnabled) BOOL multipleTouchEnabled __TVOS_PROHIBITED;\n\/** \u662f\u5426\u72ec\u5360\u6574\u4e2aTouch\u4e8b\u4ef6\uff0c\u9ed8\u8ba4NO *\/\n@property(nonatomic,getter=isExclusiveTouch) BOOL       exclusiveTouch __TVOS_PROHIBITED;\n \n\/** \u5728\u6307\u5b9a\u70b9\u4e0a\u70b9\u51fb\u6d4b\u8bd5\u6307\u5b9a\u4e8b\u4ef6 *\/\n- (nullable UIView *)hitTest:(CGPoint)point withEvent:(nullable UIEvent *)event;\n\/** \u5224\u65ad\u5f53\u524d\u7684\u70b9\u51fb\u6216\u8005\u89e6\u6478\u4e8b\u4ef6\u7684\u70b9\u662f\u5426\u5728\u5f53\u524d\u7684view\u4e2d\uff0c\u9ed8\u8ba4\u8fd4\u56deYES *\/\n- (BOOL)pointInside:(CGPoint)point withEvent:(nullable UIEvent *)event;\n \n\/** \u5c06\u50cf\u7d20point\u7531point\u6240\u5728\u89c6\u56fe\u8f6c\u6362\u5230\u76ee\u6807\u89c6\u56feview\u4e2d\uff0c\u8fd4\u56de\u5728\u76ee\u6807\u89c6\u56feview\u4e2d\u7684\u50cf\u7d20\u503c *\/\n- (CGPoint)convertPoint:(CGPoint)point toView:(nullable UIView *)view;\n\/** \u5c06\u50cf\u7d20point\u7531point\u6240\u5728\u89c6\u56fe\u8f6c\u6362\u5230\u76ee\u6807\u89c6\u56feview\u4e2d\uff0c\u8fd4\u56de\u5728\u76ee\u6807\u89c6\u56feview\u4e2d\u7684\u50cf\u7d20\u503c *\/\n- (CGPoint)convertPoint:(CGPoint)point fromView:(nullable UIView *)view;\n\/** \u5c06rect\u7531rect\u6240\u5728\u89c6\u56fe\u8f6c\u6362\u5230\u76ee\u6807\u89c6\u56feview\u4e2d\uff0c\u8fd4\u56de\u5728\u76ee\u6807\u89c6\u56feview\u4e2d\u7684rect *\/\n- (CGRect)convertRect:(CGRect)rect toView:(nullable UIView *)view;\n\/** \u5c06rect\u4eceview\u4e2d\u8f6c\u6362\u5230\u5f53\u524d\u89c6\u56fe\u4e2d\uff0c\u8fd4\u56de\u5728\u5f53\u524d\u89c6\u56fe\u4e2d\u7684rect *\/\n- (CGRect)convertRect:(CGRect)rect fromView:(nullable UIView *)view;\n \n\/** \u81ea\u52a8\u8c03\u6574\u5b50\u89c6\u56fe\u5c3a\u5bf8\uff0c\u9ed8\u8ba4YES\u5219\u4f1a\u6839\u636eautoresizingMask\u5c5e\u6027\u81ea\u52a8\u8c03\u6574\u5b50\u89c6\u56fe\u5c3a\u5bf8 *\/\n@property(nonatomic) BOOL               autoresizesSubviews;\n\/** \u81ea\u52a8\u8c03\u6574\u5b50\u89c6\u56fe\u4e0e\u7236\u89c6\u56fe\u7684\u4f4d\u7f6e\uff0c\u9ed8\u8ba4UIViewAutoresizingNone *\/\n@property(nonatomic) UIViewAutoresizing autoresizingMask;\n \n\/** \u8fd4\u56de\u201c\u6700\u4f73\u201d\u5927\u5c0f\u9002\u5408\u7ed9\u5b9a\u7684\u5927\u5c0f *\/\n- (CGSize)sizeThatFits:(CGSize)size;\n\/** \u8c03\u6574\u4e3a\u521a\u597d\u5408\u9002\u5b50\u89c6\u56fe\u5927\u5c0f *\/\n- (void)sizeToFit;\n \n@end\n \n@interface UIView(UIViewHierarchy)\n \n\/** \u83b7\u53d6\u7236\u89c6\u56fe *\/\n@property(nullable, nonatomic,readonly) UIView       *superview;\n\/** \u83b7\u53d6\u6240\u6709\u5b50\u89c6\u56fe *\/\n@property(nonatomic,readonly,copy) NSArray&lt;__kindof UIView *&gt; *subviews;\n\/** \u83b7\u53d6\u89c6\u56fe\u6240\u5728\u7684Window *\/\n@property(nullable, nonatomic,readonly) UIWindow     *window;\n \n\/** \u4ece\u7236\u89c6\u56fe\u4e2d\u79fb\u9664\u63a7\u4ef6 *\/\n- (void)removeFromSuperview;\n\/** \u63d2\u5165\u5b50\u89c6\u56fe(\u5c06\u5b50\u89c6\u56fe\u63d2\u5165\u5230subviews\u6570\u7ec4\u4e2dindex\u8fd9\u4e2a\u4f4d\u7f6e) *\/\n- (void)insertSubview:(UIView *)view atIndex:(NSInteger)index;\n\/** \u4ea4\u6362subviews\u6570\u7ec4\u4e2d\u6240\u5b58\u653e\u5b50\u89c6\u56fe\u7684\u4f4d\u7f6e *\/\n- (void)exchangeSubviewAtIndex:(NSInteger)index1 withSubviewAtIndex:(NSInteger)index2;\n \n\/** \u6dfb\u52a0\u5b50\u89c6\u56fe(\u65b0\u6dfb\u52a0\u7684\u89c6\u56fe\u5728subviews\u6570\u7ec4\u7684\u540e\u9762, \u663e\u793a\u5728\u6700\u4e0a\u9762) *\/\n- (void)addSubview:(UIView *)view;\n\/** \u63d2\u5165\u5b50\u89c6\u56fe(\u5c06\u5b50\u89c6\u56fe\u63d2\u5230siblingSubview\u4e4b\u4e0b) *\/\n- (void)insertSubview:(UIView *)view belowSubview:(UIView *)siblingSubview;\n\/** \u63d2\u5165\u5b50\u89c6\u56fe(\u5c06\u5b50\u89c6\u56fe\u63d2\u5230siblingSubview\u4e4b\u4e0a) *\/\n- (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview;\n \n\/** \u5c06\u5b50\u89c6\u56fe\u62c9\u5230\u6700\u4e0a\u9762\u6765\u663e\u793a *\/\n- (void)bringSubviewToFront:(UIView *)view;\n\/** \u5c06\u5b50\u89c6\u56fe\u62c9\u5230\u6700\u4e0b\u9762\u6765\u663e\u793a *\/\n- (void)sendSubviewToBack:(UIView *)view;\n \n##pragma mark - \u7cfb\u7edf\u81ea\u52a8\u8c03\u7528(\u7559\u7ed9\u5b50\u7c7b\u53bb\u5b9e\u73b0)\n\/** \u6dfb\u52a0\u81ea\u89c6\u56fe\u5b8c\u6210\u540e\u8c03\u7528 *\/\n- (void)didAddSubview:(UIView *)subview;\n\/** \u5c06\u8981\u79fb\u9664\u81ea\u89c6\u56fe\u65f6\u8c03\u7528 *\/\n- (void)willRemoveSubview:(UIView *)subview;\n \n\/** \u5c06\u8981\u79fb\u52a8\u5230\u65b0\u7236\u89c6\u56fe\u65f6\u8c03\u7528 *\/\n- (void)willMoveToSuperview:(nullable UIView *)newSuperview;\n\/** \u79fb\u52a8\u5230\u65b0\u7236\u89c6\u56fe\u5b8c\u6210\u540e\u8c03\u7528 *\/\n- (void)didMoveToSuperview;\n\/** \u5c06\u8981\u79fb\u52a8\u5230\u65b0Window\u65f6\u8c03\u7528 *\/\n- (void)willMoveToWindow:(nullable UIWindow *)newWindow;\n\/** \u79fb\u52a8\u5230\u65b0Window\u5b8c\u6210\u540e\u8c03\u7528 *\/\n- (void)didMoveToWindow;\n \n\/** \u5224\u65adview\u662f\u5426\u4e3a\u5b50\u7c7b *\/\n- (BOOL)isDescendantOfView:(UIView *)view;\n\/** \u901a\u8fc7tag\u83b7\u5f97\u5bf9\u5e94\u7684\u5b50\u89c6\u56fe *\/\n- (nullable __kindof UIView *)viewWithTag:(NSInteger)tag;\n \n\/** \u5bf9\u73b0\u5728\u6709\u5e03\u5c40\u6709\u8c03\u6574\u66f4\u6539\u540e\uff0c\u4f7f\u7528\u8fd9\u4e2a\u65b9\u6cd5\u8fdb\u884c\u66f4\u65b0 *\/\n- (void)setNeedsLayout;\n\/** \u5f3a\u5236\u8fdb\u884c\u66f4\u65b0layout *\/\n- (void)layoutIfNeeded;\n \n\/** \u63a7\u4ef6\u7684frame\u53d1\u751f\u6539\u53d8\u7684\u65f6\u5019\u5c31\u4f1a\u8c03\u7528,\u4e00\u822c\u5728\u8fd9\u91cc\u91cd\u5199\u5e03\u5c40\u5b50\u63a7\u4ef6\u7684\u4f4d\u7f6e\u548c\u5c3a\u5bf8 *\/\n- (void)layoutSubviews;\n \n\/** \u8bbe\u7f6eview\u4e4b\u95f4\u7684\u95f4\u8ddd\uff0c\u8be5\u5c5e\u6027\u53ea\u5bf9autolayout\u5e03\u5c40\u6709\u6548 *\/\n@property (nonatomic) UIEdgeInsets layoutMargins NS_AVAILABLE_IOS(8_0);\n\/** \u662f\u5426\u5c06\u5f53\u524d\u89c6\u56fe\u7684\u95f4\u8ddd\u548c\u7236\u89c6\u56fe\u76f8\u540c\uff0c\u9ed8\u8ba4\u662fNO *\/\n@property (nonatomic) BOOL preservesSuperviewLayoutMargins NS_AVAILABLE_IOS(8_0);\n\/** \u6539\u53d8view\u7684layoutMargins\u8fd9\u4e2a\u5c5e\u6027\u65f6\uff0c\u4f1a\u89e6\u53d1\u8fd9\u4e2a\u65b9\u6cd5 *\/\n- (void)layoutMarginsDidChange NS_AVAILABLE_IOS(8_0);\n \n\/** \u89c6\u56fe\u95f4\u8ddd\u5f15\u5bfc *\/\n@property(readonly,strong) UILayoutGuide *layoutMarginsGuide NS_AVAILABLE_IOS(9_0);\n \n\/** \u83b7\u53d6\u6b64\u533a\u57df\u7684\u5185\u7684\u5e03\u5c40\u5f15\u5bfc *\/\n@property (nonatomic, readonly, strong) UILayoutGuide *readableContentGuide  NS_AVAILABLE_IOS(9_0);\n@end\n \n@interface UIView(UIViewRendering)\n \n\/** \u91cd\u5199drawRect\u65b9\u6cd5\uff0c\u5728\u53ef\u4ee5\u8fd9\u91cc\u8fdb\u884c\u7ed8\u56fe\u64cd\u4f5c\u3002*\/\n- (void)drawRect:(CGRect)rect;\n \n\/** \u6807\u8bb0\u6574\u4e2a\u89c6\u56fe\u7684\u8fb9\u754c\u77e9\u5f62\u9700\u8981\u91cd\u7ed8, \u8c03\u7528\u8fd9\u4e2a\u65b9\u6cd5\u4f1a\u81ea\u52a8\u8c03\u7528drawRect\u65b9\u6cd5 *\/\n- (void)setNeedsDisplay;\n\/** \u6807\u8bb0\u5728\u6307\u5b9a\u533a\u57df\u5185\u7684\u89c6\u56fe\u7684\u8fb9\u754c\u9700\u8981\u91cd\u7ed8, \u8c03\u7528\u8fd9\u4e2a\u65b9\u6cd5\u4f1a\u81ea\u52a8\u8c03\u7528drawRect\u65b9\u6cd5 *\/\n- (void)setNeedsDisplayInRect:(CGRect)rect;\n \n\/** \u662f\u5426\u88c1\u526a\u8d85\u51faBounds\u8303\u56f4\u7684\u5b50\u63a7\u4ef6\uff0c\u9ed8\u8ba4NO *\/\n@property(nonatomic)                 BOOL              clipsToBounds;\n\/** \u8bbe\u7f6e\u80cc\u666f\u989c\u8272\uff0c\u9ed8\u8ba4nil *\/\n@property(nullable, nonatomic,copy)  UIColor          *backgroundColor UI_APPEARANCE_SELECTOR;\n\/** \u8bbe\u7f6e\u900f\u660e\u5ea6(\u8303\u56f40.0~1.0)\uff0c\u9ed8\u8ba41.0 *\/\n@property(nonatomic)                 CGFloat           alpha;\n\/** \u8bbe\u7f6e\u662f\u5426\u4e0d\u900f\u660e\uff0c\u9ed8\u8ba4YES\u4e0d\u900f\u660e *\/\n@property(nonatomic,getter=isOpaque) BOOL              opaque;\n\/** \u89c6\u56fe\u91cd\u7ed8\u524d\u662f\u5426\u5148\u6e05\u7406\u4ee5\u524d\u7684\u5185\u5bb9\uff0c\u9ed8\u8ba4YES *\/\n@property(nonatomic)                 BOOL              clearsContextBeforeDrawing;\n\/** \u8bbe\u7f6e\u662f\u5426\u9690\u85cf\uff0c\u9ed8\u8ba4NO\u4e0d\u9690\u85cf *\/\n@property(nonatomic,getter=isHidden) BOOL              hidden;\n\/** \u5185\u5bb9\u663e\u793a\u7684\u6a21\u5f0f\uff0c\u9ed8\u8ba4UIViewContentModeScaleToFill *\/\n@property(nonatomic)                 UIViewContentMode contentMode;\n\/** \u62c9\u4f38\u5c5e\u6027\uff0c\u5982\u56fe\u7247\u62c9\u4f38 *\/\n@property(nonatomic)                 CGRect            contentStretch NS_DEPRECATED_IOS(3_0,6_0) __TVOS_PROHIBITED;\n \n\/** \u8499\u677fview *\/\n@property(nullable, nonatomic,strong)          UIView           *maskView NS_AVAILABLE_IOS(8_0);\n \n\/** \u6539\u53d8\u5e94\u7528\u7a0b\u5e8f\u7684\u5916\u89c2\u7684\u989c\u8272\u3002\u9ed8\u8ba4\u4e3anil *\/\n@property(null_resettable, nonatomic, strong) UIColor *tintColor NS_AVAILABLE_IOS(7_0);\n \n\/** \u53ef\u4ee5\u4f7ftintColor\u53d8\u6697\uff0c\u56e0\u6b64\u6574\u4e2a\u89c6\u56fe\u5c42\u6b21\u53d8\u6697 *\/\n@property(nonatomic) UIViewTintAdjustmentMode tintAdjustmentMode NS_AVAILABLE_IOS(7_0);\n \n\/** \u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u5f53tintColor\u6539\u53d8\u7684\u65f6\u5019\u81ea\u5b9a\u4e49\u4e00\u4e9b\u884c\u4e3a *\/\n- (void)tintColorDidChange NS_AVAILABLE_IOS(7_0);\n \n@end\n \n@interface UIView(UIViewAnimation)\n \n\/** \u5f00\u59cb\u52a8\u753b *\/\n+ (void)beginAnimations:(nullable NSString *)animationID context:(nullable void *)context;\n\/** \u63d0\u4ea4\u52a8\u753b *\/\n+ (void)commitAnimations;\n \n\/** \u8bbe\u7f6e\u52a8\u753b\u4ee3\u7406, \u9ed8\u8ba4nil *\/\n+ (void)setAnimationDelegate:(nullable id)delegate;\n\/** \u52a8\u753b\u5c06\u8981\u5f00\u59cb\u65f6\u6267\u884c\u65b9\u6cd5\uff08\u5fc5\u987b\u8981\u5148\u8bbe\u7f6e\u52a8\u753b\u4ee3\u7406\uff09, \u9ed8\u8ba4NULL *\/\n+ (void)setAnimationWillStartSelector:(nullable SEL)selector;\n\/** \u52a8\u753b\u5df2\u7ed3\u675f\u65f6\u6267\u884c\u65b9\u6cd5\uff08\u5fc5\u987b\u8981\u5148\u8bbe\u7f6e\u52a8\u753b\u4ee3\u7406\uff09, \u9ed8\u8ba4NULL *\/\n+ (void)setAnimationDidStopSelector:(nullable SEL)selector;\n\/** \u8bbe\u7f6e\u52a8\u753b\u65f6\u957f, \u9ed8\u8ba40.2\u79d2 *\/\n+ (void)setAnimationDuration:(NSTimeInterval)duration;\n\/** \u52a8\u753b\u5ef6\u8fdf\u6267\u884c\u65f6\u95f4, \u9ed8\u8ba40.0\u79d2 *\/\n+ (void)setAnimationDelay:(NSTimeInterval)delay;\n\/** \u8bbe\u7f6e\u5728\u52a8\u753b\u5757\u5185\u90e8\u52a8\u753b\u5c5e\u6027\u6539\u53d8\u7684\u5f00\u59cb\u65f6\u95f4, \u9ed8\u8ba4now (&#91;NSDate date]) *\/\n+ (void)setAnimationStartDate:(NSDate *)startDate;\n\/** \u8bbe\u7f6e\u52a8\u753b\u66f2\u7ebf, \u9ed8\u8ba4UIViewAnimationCurveEaseInOut *\/\n+ (void)setAnimationCurve:(UIViewAnimationCurve)curve;\n\/** \u52a8\u753b\u7684\u91cd\u590d\u64ad\u653e\u6b21\u6570\uff0c \u9ed8\u8ba40 *\/\n+ (void)setAnimationRepeatCount:(float)repeatCount;\n\/** \u8bbe\u7f6e\u662f\u5426\u81ea\u5b9a\u7ffb\u8f6c\u5f53\u524d\u7684\u52a8\u753b\u6548\u679c, \u9ed8\u8ba4NO *\/\n+ (void)setAnimationRepeatAutoreverses:(BOOL)repeatAutoreverses;\n\/** \u8bbe\u7f6e\u52a8\u753b\u4ece\u5f53\u524d\u72b6\u6001\u5f00\u59cb\u64ad\u653e, \u9ed8\u8ba4NO *\/\n+ (void)setAnimationBeginsFromCurrentState:(BOOL)fromCurrentState;\n \n\/** \u5728\u52a8\u753b\u5757\u4e2d\u4e3a\u89c6\u56fe\u8bbe\u7f6e\u8fc7\u6e21\u52a8\u753b *\/\n+ (void)setAnimationTransition:(UIViewAnimationTransition)transition forView:(UIView *)view cache:(BOOL)cache;\n \n\/** \u8bbe\u7f6e\u662f\u5426\u6fc0\u6d3b\u52a8\u753b *\/\n+ (void)setAnimationsEnabled:(BOOL)enabled;\n\/** \u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u503c\u8868\u793a\u52a8\u753b\u662f\u5426\u7ed3\u675f *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(class, nonatomic, readonly) BOOL areAnimationsEnabled;\n#else\n+ (BOOL)areAnimationsEnabled;\n#endif\n\/** \u5148\u68c0\u67e5\u52a8\u753b\u5f53\u524d\u662f\u5426\u542f\u7528\uff0c\u7136\u540e\u7981\u6b62\u52a8\u753b\uff0c\u6267\u884cblock\u5185\u7684\u65b9\u6cd5\uff0c\u6700\u540e\u91cd\u65b0\u542f\u7528\u52a8\u753b\uff0c\u800c\u4e14\u8fd9\u4e2a\u65b9\u6cd5\u4e0d\u4f1a\u963b\u585e\u57fa\u4e8eCoreAnimation\u7684\u52a8\u753b *\/\n+ (void)performWithoutAnimation:(void (NS_NOESCAPE ^)(void))actionsWithoutAnimation NS_AVAILABLE_IOS(7_0);\n \n\/** \u5f53\u524d\u52a8\u753b\u7684\u6301\u7eed\u65f6\u95f4 *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(class, nonatomic, readonly) NSTimeInterval inheritedAnimationDuration NS_AVAILABLE_IOS(9_0);\n#else\n+ (NSTimeInterval)inheritedAnimationDuration NS_AVAILABLE_IOS(9_0);\n#endif\n \n@end\n \n@interface UIView(UIViewAnimationWithBlocks)\n \n\/** \u7528\u4e8e\u5bf9\u4e00\u4e2a\u6216\u591a\u4e2a\u89c6\u56fe\u7684\u6539\u53d8\u7684\u6301\u7eed\u65f6\u95f4\u3001\u5ef6\u65f6\u3001\u9009\u9879\u52a8\u753b\u5b8c\u6210\u65f6\u7684\u64cd\u4f5c *\/\n+ (void)animateWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay options:(UIViewAnimationOptions)options animations:(void (^)(void))animations completion:(void (^ __nullable)(BOOL finished))completion NS_AVAILABLE_IOS(4_0);\n \n\/** \u7528\u4e8e\u5bf9\u4e00\u4e2a\u6216\u591a\u4e2a\u89c6\u56fe\u7684\u6539\u53d8\u7684\u6301\u7eed\u65f6\u95f4\u3001\u9009\u9879\u52a8\u753b\u5b8c\u6210\u65f6\u7684\u64cd\u4f5c\uff0c\u9ed8\u8ba4\uff1adelay = 0.0, options = 0 *\/\n+ (void)animateWithDuration:(NSTimeInterval)duration animations:(void (^)(void))animations completion:(void (^ __nullable)(BOOL finished))completion NS_AVAILABLE_IOS(4_0);\n \n\/** \u7528\u4e8e\u5bf9\u4e00\u4e2a\u6216\u591a\u4e2a\u89c6\u56fe\u7684\u6539\u53d8\u7684\u6301\u7eed\u65f6\u95f4\u5185\u52a8\u753b\u5b8c\u6210\u65f6\u7684\u64cd\u4f5c\uff0c\u9ed8\u8ba4\uff1adelay = 0.0, options = 0, completion = NULL *\/\n+ (void)animateWithDuration:(NSTimeInterval)duration animations:(void (^)(void))animations NS_AVAILABLE_IOS(4_0);\n \n\/** \u4f7f\u7528\u4e0e\u7269\u7406\u5f39\u7c27\u8fd0\u52a8\u76f8\u5bf9\u5e94\u7684\u5b9a\u65f6\u66f2\u7ebf\u6267\u884c\u89c6\u56fe\u52a8\u753b *\/\n+ (void)animateWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay usingSpringWithDamping:(CGFloat)dampingRatio initialSpringVelocity:(CGFloat)velocity options:(UIViewAnimationOptions)options animations:(void (^)(void))animations completion:(void (^ __nullable)(BOOL finished))completion NS_AVAILABLE_IOS(7_0);\n \n\/** \u4e3a\u6307\u5b9a\u7684\u5bb9\u5668\u89c6\u56fe\u521b\u5efa\u8f6c\u6362\u52a8\u753b *\/\n+ (void)transitionWithView:(UIView *)view duration:(NSTimeInterval)duration options:(UIViewAnimationOptions)options animations:(void (^ __nullable)(void))animations completion:(void (^ __nullable)(BOOL finished))completion NS_AVAILABLE_IOS(4_0);\n \n\/** \u4f7f\u7528\u7ed9\u5b9a\u7684\u53c2\u6570\u5728\u6307\u5b9a\u89c6\u56fe\u4e4b\u95f4\u521b\u5efa\u8f6c\u6362\u52a8\u753b *\/\n+ (void)transitionFromView:(UIView *)fromView toView:(UIView *)toView duration:(NSTimeInterval)duration options:(UIViewAnimationOptions)options completion:(void (^ __nullable)(BOOL finished))completion NS_AVAILABLE_IOS(4_0); \/\/ toView added to fromView.superview, fromView removed from its superview\n \n\/** \u5728\u4e00\u4e2a\u6216\u591a\u4e2a\u89c6\u56fe\u4e0a\u6267\u884c\u6307\u5b9a\u7684\u7cfb\u7edf\u63d0\u4f9b\u7684\u52a8\u753b\uff0c\u4ee5\u53ca\u5b9a\u4e49\u7684\u53ef\u9009\u5e76\u884c\u52a8\u753b *\/\n+ (void)performSystemAnimation:(UISystemAnimation)animation onViews:(NSArray&lt;__kindof UIView *&gt; *)views options:(UIViewAnimationOptions)options animations:(void (^ __nullable)(void))parallelAnimations completion:(void (^ __nullable)(BOOL finished))completion NS_AVAILABLE_IOS(7_0);\n \n@end\n \n\/** UIView\u7684\u5173\u952e\u5e27\u52a8\u753b *\/\n@interface UIView (UIViewKeyframeAnimations)\n \n\/** \u521b\u5efa\u4e00\u4e2a\u52a8\u753b\u5757\u5bf9\u8c61\uff0c\u53ef\u7528\u4e8e\u4e3a\u5f53\u524d\u89c6\u56fe\u8bbe\u7f6e\u57fa\u4e8e\u5173\u952e\u5e27\u7684\u52a8\u753b *\/\n+ (void)animateKeyframesWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay options:(UIViewKeyframeAnimationOptions)options animations:(void (^)(void))animations completion:(void (^ __nullable)(BOOL finished))completion NS_AVAILABLE_IOS(7_0);\n\/** \u6dfb\u52a0\u6307\u5b9a\u5f00\u59cb\u65f6\u95f4\u3001\u6301\u7eed\u65f6\u95f4\u7684\u5173\u952e\u5e27\u52a8\u753b(\u8d77\u59cb\u548c\u6301\u7eed\u65f6\u95f4\u662f0.0\u548c1.0\u4e4b\u95f4\u7684\u503c) *\/\n+ (void)addKeyframeWithRelativeStartTime:(double)frameStartTime relativeDuration:(double)frameDuration animations:(void (^)(void))animations NS_AVAILABLE_IOS(7_0);\n \n@end\n \n@interface UIView (UIViewGestureRecognizers)\n \n\/** \u5f53\u524d\u89c6\u56fe\u6240\u9644\u52a0\u7684\u6240\u6709\u624b\u52bf\u8bc6\u522b\u5668 *\/\n@property(nullable, nonatomic,copy) NSArray&lt;__kindof UIGestureRecognizer *&gt; *gestureRecognizers NS_AVAILABLE_IOS(3_2);\n \n\/** \u6dfb\u52a0\u4e00\u4e2a\u624b\u52bf\u8bc6\u522b\u5668 *\/\n- (void)addGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer NS_AVAILABLE_IOS(3_2);\n\/** \u79fb\u9664\u4e00\u4e2a\u624b\u52bf\u8bc6\u522b\u5668 *\/\n- (void)removeGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer NS_AVAILABLE_IOS(3_2);\n \n\/** \u5f00\u59cb\u4e00\u4e2a\u624b\u52bf\u8bc6\u522b\u5668 *\/\n- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer NS_AVAILABLE_IOS(6_0);\n \n@end\n \n@interface UIView (UIViewMotionEffects)\n \n\/** \u6dfb\u52a0\u8fd0\u52a8\u6548\u679c\uff0c\u5f53\u503e\u659c\u8bbe\u5907\u65f6\u89c6\u56fe\u7a0d\u5fae\u6539\u53d8\u5176\u4f4d\u7f6e *\/\n- (void)addMotionEffect:(UIMotionEffect *)effect NS_AVAILABLE_IOS(7_0);\n \n\/** \u79fb\u9664\u8fd0\u52a8\u6548\u679c *\/\n- (void)removeMotionEffect:(UIMotionEffect *)effect NS_AVAILABLE_IOS(7_0);\n \n\/** \u6240\u6709\u6dfb\u52a0\u7684\u8fd0\u52a8\u6548\u679c *\/\n@property (copy, nonatomic) NSArray&lt;__kindof UIMotionEffect *&gt; *motionEffects NS_AVAILABLE_IOS(7_0);\n \n@end\n \n \ntypedef NS_ENUM(NSInteger, UILayoutConstraintAxis) {\n    UILayoutConstraintAxisHorizontal = 0,   \/\/!&lt; \u6c34\u5e73\u7ea6\u675f.\n    UILayoutConstraintAxisVertical = 1      \/\/!&lt; \u7ad6\u76f4\u7ea6\u675f.\n};\n \n \n@interface UIView (UIConstraintBasedLayoutInstallingConstraints)\n \n\/** \u83b7\u53d6\u6240\u6709\u7ea6\u675f *\/\n@property(nonatomic,readonly) NSArray&lt;__kindof NSLayoutConstraint *&gt; *constraints NS_AVAILABLE_IOS(6_0);\n \n\/** \u6dfb\u52a0\u4e00\u4e2a\u7ea6\u675f *\/\n- (void)addConstraint:(NSLayoutConstraint *)constraint NS_AVAILABLE_IOS(6_0);\n\/** \u6dfb\u52a0\u591a\u4e2a\u7ea6\u675f *\/\n- (void)addConstraints:(NSArray&lt;__kindof NSLayoutConstraint *&gt; *)constraints NS_AVAILABLE_IOS(6_0);\n\/** \u79fb\u9664\u4e00\u4e2a\u7ea6\u675f *\/\n- (void)removeConstraint:(NSLayoutConstraint *)constraint NS_AVAILABLE_IOS(6_0);\n\/** \u79fb\u9664\u591a\u4e2a\u7ea6\u675f *\/\n- (void)removeConstraints:(NSArray&lt;__kindof NSLayoutConstraint *&gt; *)constraints NS_AVAILABLE_IOS(6_0);\n@end\n \n \n@interface UIView (UIConstraintBasedLayoutCoreMethods)\n\/** \u66f4\u65b0\u89c6\u56fe\u548c\u5176\u5b50\u89c6\u56fe\u7684\u7ea6\u675f *\/\n- (void)updateConstraintsIfNeeded NS_AVAILABLE_IOS(6_0);\n\/** \u4e3a\u89c6\u56fe\u66f4\u65b0\u7ea6\u675f\uff0c\u53ef\u4ee5\u91cd\u5199\u8fd9\u4e2a\u65b9\u6cd5\u6765\u8bbe\u7f6e\u5f53\u524dview\u5c40\u90e8\u7684\u5e03\u5c40\u7ea6\u675f *\/\n- (void)updateConstraints NS_AVAILABLE_IOS(6_0) NS_REQUIRES_SUPER;\n\/** \u89c6\u56fe\u7684\u7ea6\u675f\u662f\u5426\u9700\u8981\u66f4\u65b0 *\/\n- (BOOL)needsUpdateConstraints NS_AVAILABLE_IOS(6_0);\n\/** \u8bbe\u7f6e\u89c6\u56fe\u7684\u7ea6\u675f\u9700\u8981\u66f4\u65b0\uff0c\u8c03\u7528\u8fd9\u4e2a\u65b9\u6cd5\uff0c\u7cfb\u7edf\u4f1a\u8c03\u7528updateConstraints\u53bb\u66f4\u65b0\u5e03\u5c40 *\/\n- (void)setNeedsUpdateConstraints NS_AVAILABLE_IOS(6_0);\n@end\n \n \n@interface UIView (UIConstraintBasedCompatibility)\n \n\/** \u662f\u5426\u542f\u7528\u81ea\u52a8\u5e03\u5c40\u7ea6\u675f\uff0c\u9ed8\u8ba4YES. IB\u9ed8\u8ba4\u662fNO *\/\n@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints NS_AVAILABLE_IOS(6_0);\n \n\/** \u662f\u5426\u4f7f\u7528\u7ea6\u675f\u5e03\u5c40 *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(class, nonatomic, readonly) BOOL requiresConstraintBasedLayout NS_AVAILABLE_IOS(6_0);\n#else\n+ (BOOL)requiresConstraintBasedLayout NS_AVAILABLE_IOS(6_0);\n#endif\n \n@end\n \n \n@interface UIView (UIConstraintBasedLayoutLayering)\n \n\/** \u8fd4\u56de\u7ed9\u5b9a\u6846\u67b6\u7684\u89c6\u56fe\u7684\u5bf9\u9f50\u77e9\u9635 *\/\n- (CGRect)alignmentRectForFrame:(CGRect)frame NS_AVAILABLE_IOS(6_0);\n\/** \u8fd4\u56de\u7ed9\u5b9a\u5bf9\u9f50\u77e9\u5f62\u7684\u89c6\u56fe\u7684frame *\/\n- (CGRect)frameForAlignmentRect:(CGRect)alignmentRect NS_AVAILABLE_IOS(6_0);\n \n\/** \u8fd4\u56de\u4ece\u89c6\u56fe\u7684frame\u4e0a\u5b9a\u4e49\u7684\u5bf9\u9f50\u77e9\u9635\u7684\u8fb9\u6846 *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(nonatomic, readonly) UIEdgeInsets alignmentRectInsets NS_AVAILABLE_IOS(6_0);\n#else\n- (UIEdgeInsets)alignmentRectInsets NS_AVAILABLE_IOS(6_0);\n#endif\n \n\/** \u8fd4\u56de\u6ee1\u8db3\u57fa\u7ebf\u7ea6\u675f\u6761\u4ef6\u7684\u89c6\u56fe *\/\n- (UIView *)viewForBaselineLayout NS_DEPRECATED_IOS(6_0, 9_0, \"Override -viewForFirstBaselineLayout or -viewForLastBaselineLayout as appropriate, instead\") __TVOS_PROHIBITED;\n \n\/** \u8fd4\u56de\u7528\u4e8e\u6ee1\u8db3\u7b2c\u4e00\u57fa\u7ebf\u7ea6\u675f\u7684\u89c6\u56fe *\/\n@property(readonly,strong) UIView *viewForFirstBaselineLayout NS_AVAILABLE_IOS(9_0);\n \n\/** \u8fd4\u56de\u7528\u4e8e\u6ee1\u8db3\u4e0a\u6b21\u57fa\u7ebf\u7ea6\u675f\u7684\u89c6\u56fe *\/\n@property(readonly,strong) UIView *viewForLastBaselineLayout NS_AVAILABLE_IOS(9_0);\n \n \nUIKIT_EXTERN const CGFloat UIViewNoIntrinsicMetric NS_AVAILABLE_IOS(6_0); \/\/ -1\n\/** \u8fd4\u56de\u63a5\u6536\u5bf9\u8c61\u7684\u539f\u672c\u5927\u5c0f *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(nonatomic, readonly) CGSize intrinsicContentSize NS_AVAILABLE_IOS(6_0);\n#else\n- (CGSize)intrinsicContentSize NS_AVAILABLE_IOS(6_0);\n#endif\n\/** \u5e9f\u9664\u89c6\u56fe\u539f\u672c\u5185\u5bb9\u7684size *\/\n- (void)invalidateIntrinsicContentSize NS_AVAILABLE_IOS(6_0);\n \n\/** \u8bbe\u7f6e\u5f53\u89c6\u56fe\u8981\u53d8\u5927\u65f6\uff0c\u89c6\u56fe\u7684\u538b\u7f29\u6539\u53d8\u65b9\u5f0f\uff0c\u8fd4\u56de\u4e00\u4e2a\u4f18\u5148\u6743\uff08\u786e\u5b9aview\u6709\u591a\u5927\u7684\u4f18\u5148\u7ea7\u963b\u6b62\u81ea\u5df1\u53d8\u5927\uff09 *\/\n- (UILayoutPriority)contentHuggingPriorityForAxis:(UILayoutConstraintAxis)axis NS_AVAILABLE_IOS(6_0);\n\/** \u8bbe\u7f6e\u653e\u5148\u6743 *\/\n- (void)setContentHuggingPriority:(UILayoutPriority)priority forAxis:(UILayoutConstraintAxis)axis NS_AVAILABLE_IOS(6_0);\n \n\/** \u8bbe\u7f6e\u5f53\u89c6\u56fe\u8981\u53d8\u5c0f\u65f6\uff0c\u89c6\u56fe\u7684\u538b\u7f29\u6539\u53d8\u65b9\u5f0f\uff0c\u662f\u6c34\u5e73\u7f29\u5c0f\u8fd8\u662f\u5782\u76f4\u7f29\u5c0f\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u4f18\u5148\u6743\uff08\u786e\u5b9a\u6709\u591a\u5927\u7684\u4f18\u5148\u7ea7\u963b\u6b62\u81ea\u5df1\u53d8\u5c0f\uff09 *\/\n- (UILayoutPriority)contentCompressionResistancePriorityForAxis:(UILayoutConstraintAxis)axis NS_AVAILABLE_IOS(6_0);\n\/** \u8bbe\u7f6e\u4f18\u5148\u6743 *\/\n- (void)setContentCompressionResistancePriority:(UILayoutPriority)priority forAxis:(UILayoutConstraintAxis)axis NS_AVAILABLE_IOS(6_0);\n@end\n \n\/\/ Size To Fit\n \nUIKIT_EXTERN const CGSize UILayoutFittingCompressedSize NS_AVAILABLE_IOS(6_0);\nUIKIT_EXTERN const CGSize UILayoutFittingExpandedSize NS_AVAILABLE_IOS(6_0);\n \n@interface UIView (UIConstraintBasedLayoutFittingSize)\n\/** \u8fd4\u56de\u6ee1\u8db3\u6301\u6709\u7ea6\u675f\u7684\u89c6\u56fe\u7684size *\/\n- (CGSize)systemLayoutSizeFittingSize:(CGSize)targetSize NS_AVAILABLE_IOS(6_0);\n\/** \u8fd4\u56de\u6ee1\u8db3\u5b83\u6240\u5305\u542b\u7684\u7ea6\u675f\u7684\u89c6\u56fe\u7684\u5927\u5c0f *\/\n- (CGSize)systemLayoutSizeFittingSize:(CGSize)targetSize withHorizontalFittingPriority:(UILayoutPriority)horizontalFittingPriority verticalFittingPriority:(UILayoutPriority)verticalFittingPriority NS_AVAILABLE_IOS(8_0);\n@end\n \n@interface UIView (UILayoutGuideSupport)\n \n\/** \u6b64\u89c6\u56fe\u62e5\u6709\u5e03\u5c40\u5411\u5bfc\u5bf9\u8c61\u7684\u6570\u7ec4 *\/\n@property(nonatomic,readonly,copy) NSArray&lt;__kindof UILayoutGuide *&gt; *layoutGuides NS_AVAILABLE_IOS(9_0);\n \n\/** \u5411\u89c6\u56fe\u4e2d\u6dfb\u52a0\u5e03\u5c40\u5411\u5bfc *\/\n- (void)addLayoutGuide:(UILayoutGuide *)layoutGuide NS_AVAILABLE_IOS(9_0);\n \n\/** \u5411\u89c6\u56fe\u4e2d\u6dfb\u52a0\u5e03\u5c40\u5411\u5bfc *\/\n- (void)removeLayoutGuide:(UILayoutGuide *)layoutGuide NS_AVAILABLE_IOS(9_0);\n@end\n \n@class NSLayoutXAxisAnchor,NSLayoutYAxisAnchor,NSLayoutDimension;\n@interface UIView (UIViewLayoutConstraintCreation)\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u524d\u7f18\u6846\u7684\u5e03\u5c40\u951a\u70b9 *\/\n@property(readonly, strong) NSLayoutXAxisAnchor *leadingAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u540e\u7f18\u8fb9\u6846\u7684\u5e03\u5c40\u951a\u70b9 *\/\n@property(readonly, strong) NSLayoutXAxisAnchor *trailingAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u5de6\u8fb9\u6846\u7684\u5e03\u5c40\u951a\u70b9 *\/\n@property(readonly, strong) NSLayoutXAxisAnchor *leftAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u53f3\u8fb9\u6846\u7684\u5e03\u5c40\u951a\u70b9 *\/\n@property(readonly, strong) NSLayoutXAxisAnchor *rightAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u9876\u8fb9\u6846\u7684\u5e03\u5c40\u951a\u70b9 *\/\n@property(readonly, strong) NSLayoutYAxisAnchor *topAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u5e95\u8fb9\u6846\u7684\u5e03\u5c40\u951a\u70b9 *\/\n@property(readonly, strong) NSLayoutYAxisAnchor *bottomAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u5bbd\u5ea6 *\/\n@property(readonly, strong) NSLayoutDimension *widthAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u9ad8\u5ea6 *\/\n@property(readonly, strong) NSLayoutDimension *heightAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u6c34\u5e73\u4e2d\u5fc3\u8f74 *\/\n@property(readonly, strong) NSLayoutXAxisAnchor *centerXAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u5e03\u5c40\u89c6\u56fe\u7684\u5782\u76f4\u4e2d\u5fc3\u8f74 *\/\n@property(readonly, strong) NSLayoutYAxisAnchor *centerYAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u4e00\u4e2a\u4ee3\u8868\u5bf9\u89c6\u56fe\u4e2d\u7684\u6587\u672c\u7684\u6700\u9ad8\u7ebf\u57fa\u7ebf\u5e03\u7f6e\u951a *\/\n@property(readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor NS_AVAILABLE_IOS(9_0);\n\/** \u4e00\u4e2a\u4ee3\u8868\u5bf9\u89c6\u56fe\u4e2d\u7684\u6587\u672c\u7684\u6700\u4f4e\u7ebf\u57fa\u7ebf\u5e03\u7f6e\u951a *\/\n@property(readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor NS_AVAILABLE_IOS(9_0);\n \n@end\n \n@interface UIView (UIConstraintBasedLayoutDebugging)\n \n\/** \u83b7\u5f97\u5b9e\u4f53\u5728\u4e0d\u540c\u65b9\u5411\u4e0a\u6240\u6709\u7684\u5e03\u5c40\u7ea6\u675f *\/\n- (NSArray&lt;__kindof NSLayoutConstraint *&gt; *)constraintsAffectingLayoutForAxis:(UILayoutConstraintAxis)axis NS_AVAILABLE_IOS(6_0);\n \n\/** \u53ef\u4ee5\u77e5\u9053\u5f53\u524d\u89c6\u56fe\u7684\u5e03\u5c40\u662f\u5426\u4f1a\u6709\u6b67\u4e49 *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(nonatomic, readonly) BOOL hasAmbiguousLayout NS_AVAILABLE_IOS(6_0);\n#else\n- (BOOL)hasAmbiguousLayout NS_AVAILABLE_IOS(6_0);\n#endif\n \n\/** \u8fd9\u4e2a\u65b9\u6cd5\u4f1a\u968f\u673a\u6539\u53d8\u89c6\u56fe\u7684layout\u5230\u53e6\u5916\u4e00\u4e2a\u6709\u6548\u7684layout\u3002\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u5f88\u6e05\u695a\u7684\u770b\u5230\u54ea\u4e00\u4e2alayout\u5bfc\u81f4\u4e86\u6574\u4f53\u7684\u5e03\u5c40\u7ea6\u675f\u51fa\u73b0\u4e86\u9519\u8bef\uff0c\u6216\u8005\u6211\u4eec\u5e94\u8be5\u589e\u52a0\u66f4\u591a\u7684\u5e03\u5c40\u7ea6\u675f *\/\n- (void)exerciseAmbiguityInLayout NS_AVAILABLE_IOS(6_0);\n@end\n \n\/** \u7ea6\u675f\u8c03\u8bd5\uff0c\u53ea\u5728DEBUG\u73af\u5883\u4e0b\u88ab\u8c03\u7528 *\/\n@interface UILayoutGuide (UIConstraintBasedLayoutDebugging)\n \n\/** \u83b7\u5f97\u5b9e\u4f53\u5728\u4e0d\u540c\u65b9\u5411\u4e0a\u6240\u6709\u7684\u5e03\u5c40\u7ea6\u675f *\/\n- (NSArray&lt;__kindof NSLayoutConstraint *&gt; *)constraintsAffectingLayoutForAxis:(UILayoutConstraintAxis)axis NS_AVAILABLE_IOS(10_0);\n \n\/** \u53ef\u4ee5\u77e5\u9053\u5f53\u524d\u89c6\u56fe\u7684\u5e03\u5c40\u662f\u5426\u4f1a\u6709\u6b67\u4e49 *\/\n#if UIKIT_DEFINE_AS_PROPERTIES\n@property(nonatomic, readonly) BOOL hasAmbiguousLayout NS_AVAILABLE_IOS(10_0);\n#else\n- (BOOL)hasAmbiguousLayout NS_AVAILABLE_IOS(10_0);\n#endif\n@end\n \n#pragma mark - View\u72b6\u6001\u4fdd\u5b58\u6062\u590d\n@interface UIView (UIStateRestoration)\n\/** \u6807\u793a\u662f\u5426\u652f\u6301\u4fdd\u5b58,\u6062\u590d\u89c6\u56fe\u72b6\u6001\u4fe1\u606f *\/\n@property (nullable, nonatomic, copy) NSString *restorationIdentifier NS_AVAILABLE_IOS(6_0);\n\/** \u4fdd\u5b58\u89c6\u56fe\u72b6\u6001\u76f8\u5173\u7684\u4fe1\u606f *\/\n- (void) encodeRestorableStateWithCoder:(NSCoder *)coder NS_AVAILABLE_IOS(6_0);\n\/** \u6062\u590d\u548c\u4fdd\u6301\u89c6\u56fe\u72b6\u6001\u76f8\u5173\u4fe1\u606f *\/\n- (void) decodeRestorableStateWithCoder:(NSCoder *)coder NS_AVAILABLE_IOS(6_0);\n@end\n \n#pragma mark - View\u5feb\u7167\n@interface UIView (UISnapshotting)\n\/** \u5c06\u5f53\u524d\u663e\u793a\u7684view\u622a\u53d6\u6210\u4e00\u4e2a\u65b0\u7684view *\/\n- (nullable UIView *)snapshotViewAfterScreenUpdates:(BOOL)afterUpdates NS_AVAILABLE_IOS(7_0);\n\/** \u7f29\u653e\u4e00\u4e2aview\u9ed8\u8ba4\u662f\u4ece\u4e2d\u5fc3\u70b9\u8fdb\u884c\u7f29\u653e\u7684 *\/\n- (nullable UIView *)resizableSnapshotViewFromRect:(CGRect)rect afterScreenUpdates:(BOOL)afterUpdates withCapInsets:(UIEdgeInsets)capInsets NS_AVAILABLE_IOS(7_0);\n\/** \u5c4f\u5e55\u5feb\u7167 *\/\n- (BOOL)drawViewHierarchyInRect:(CGRect)rect afterScreenUpdates:(BOOL)afterUpdates NS_AVAILABLE_IOS(7_0);\n@end\n \nNS_ASSUME_NONNULL_END\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-3","tag-ios"],"_links":{"self":[{"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":3,"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":14,"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/posts\/10\/revisions\/14"}],"wp:attachment":[{"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.qirimi.com\/index.php\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}