< UIKit >

UIFocusMovementHint.h

2019-06-26  本文已影响0人  zhYx_

#if USE_UIKIT_PUBLIC_HEADERS || !__has_include(<UIKitCore/UIFocusMovementHint.h>)
//
//  UIFocusMovementHint.h
//  UIKit
//
//  Copyright © 2018 Apple Inc. All rights reserved.
//
#import <UIKit/UIFocus.h>
#import <QuartzCore/CATransform3D.h>





#pragma mark - 焦点移动提示 Class
#pragma mark -
NS_CLASS_AVAILABLE_IOS(12_0) @interface UIFocusMovementHint: NSObject <NSCopying>

/// 移动方向
@property (nonatomic, readonly) CGVector movementDirection;
/// 透视变换 (要应用于匹配UIKit交互提示的透视矩阵的3D变换)
@property (nonatomic, readonly) CATransform3D perspectiveTransform;
/// 以弧度表示的XY轴平移
@property (nonatomic, readonly) CGVector rotation;
/// 以点表示的XY轴平移
@property (nonatomic, readonly) CGVector translation;
/// 交互变换 (包含透视/旋转/平移的组合变换的3D效果)
@property (nonatomic, readonly) CATransform3D interactionTransform;

#pragma mark |实例化|
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;

@end





#else
#import <UIKitCore/UIFocusMovementHint.h>
#endif

上一篇下一篇

猜你喜欢

热点阅读