PSPDFPageCellImageRequestToken
Objective-C
@protocol PSPDFPageCellImageRequestToken <NSObject>
Swift
protocol PDFPageCellImageRequestToken : NSObjectProtocol
This protocol contains information about an image request.
-
The expected size of the image, once it will be returned. This size may or may not be equal to the size of the returned image. It is the best available information from the creation time of the image request.
Declaration
Objective-C
@property (nonatomic, readonly) CGSize expectedSize;
Swift
var expectedSize: CGSize { get }
-
An image to be displayed while the main image is still loading.
This could be an image in a lower resolution or one that is not as accurate as the final image.
-
Cancels an image request. If the image request is not cancellable this method either does nothing or is not available.