RBImageScrollView Class Reference
Inherits from | UIView |
---|---|
Declared in | RBImageScrollView.h |
image
Gets or sets the UIImage
object being displayed.
@property (nonatomic, nullable) UIImage *image
Discussion
Gets or sets the UIImage
object being displayed.
Declared In
RBImageScrollView.h
zoomEnabled
Whether or not zooming is enabled.
@property (nonatomic) BOOL zoomEnabled
Discussion
Whether or not zooming is enabled.
Declared In
RBImageScrollView.h
– loadImageFromDisk:completion:
Loads an image asynchronously from disk.
- (void)loadImageFromDisk:(nonnull NSString *)path completion:(nullable void ( ^ ) ( UIImage *__nullable image , NSError *__nullable error , BOOL wasCancelled ))completion
Parameters
path |
The filesystem path to the image file. |
---|---|
completion |
An optional block that is called on completion. |
Discussion
Loads an image asynchronously from disk.
Declared In
RBImageScrollView.h
– loadImageFromRequest:completion:
Loads an image asynchronously from the network.
- (void)loadImageFromRequest:(nonnull NSURLRequest *)request completion:(nullable void ( ^ ) ( RBImageResponse *__nonnull response ))completion
Parameters
request |
The |
---|---|
completion |
An optional block that is called on completion. |
Discussion
Loads an image asynchronously from the network.
Declared In
RBImageScrollView.h
doubleTapZoomEnabled
Whether or not double tap zooming is enabled.
@property (nonatomic) BOOL doubleTapZoomEnabled
Discussion
Whether or not double tap zooming is enabled.
Declared In
RBImageScrollView.h
doubleTapRecogniser
The double tap recognizer that triggers zooming.
@property (nonatomic, readonly, nullable) UITapGestureRecognizer *doubleTapRecogniser
Discussion
The double tap recognizer that triggers zooming.
Declared In
RBImageScrollView.h