mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Simplify creation of Photos Framework NSURLs in ASMultiplexImageNode
This commit is contained in:
@@ -48,8 +48,6 @@ extern NSString *const ASPhotosURLScheme;
|
||||
|
||||
@discussion Some properties of this object are ignored when converting this request into a URL.
|
||||
As of iOS SDK 9.0, these properties are `progressHandler` and `synchronous`.
|
||||
Note that ASMultiplexImageNode does not support PHImageRequestOptionsDeliveryModeOpportunistic
|
||||
because it sends multiple images, and that mode will be replaced by PHImageRequestOptionsDeliveryModeHighQualityFormat
|
||||
*/
|
||||
@property (nonatomic, strong) PHImageRequestOptions *options;
|
||||
|
||||
@@ -65,13 +63,4 @@ extern NSString *const ASPhotosURLScheme;
|
||||
|
||||
@end
|
||||
|
||||
@interface NSURL (ASPhotosRequestConverting)
|
||||
|
||||
/**
|
||||
@abstract A convenience function that calls `[ASPhotosFrameworkImageRequest requestWithURL:self]`.
|
||||
*/
|
||||
- (/*nullable*/ ASPhotosFrameworkImageRequest *)asyncdisplaykit_photosRequest;
|
||||
|
||||
@end
|
||||
|
||||
// NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user