123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #import <UIKit/UIKit.h>
- #import <Photos/Photos.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface CTAssetItemViewController : UIViewController
- @property (nonatomic, assign) BOOL allowsSelection;
- @property (nonatomic, strong, readonly) PHAsset *asset;
- @property (nonatomic, strong, readonly, nullable) UIImage *image;
- + (CTAssetItemViewController *)assetItemViewControllerForAsset:(PHAsset *)asset;
- - (void)playAsset:(nullable id)sender;
- - (void)pauseAsset:(nullable id)sender;
- @end
- NS_ASSUME_NONNULL_END
|