|
LuxChat
2.0
Instant messenger for iOS
|
#import <JTSImageViewController.h>
Instance Methods | |
| (BOOL) | - imageViewerShouldFadeThumbnailsDuringPresentationAndDismissal: |
| (UIFont *) | - fontForAltTextInImageViewer: |
| (UIColor *) | - accentColorForAltTextInImageViewer: |
| (UIColor *) | - backgroundColorImageViewInImageViewer: |
| (CGFloat) | - alphaForBackgroundDimmingOverlayInImageViewer: |
| (CGFloat) | - backgroundBlurRadiusForImageViewer: |
|
optional |
The tint color applied to tappable text and selection controls.
This method is only used with JTSImageViewControllerMode_AltText.
|
optional |
Defaults to JTSImageViewController_DefaultAlphaForBackgroundDimmingOverlay.
|
optional |
Used with a JTSImageViewControllerBackgroundStyle_ScaledDimmedBlurred background style.
Defaults to JTSImageViewController_DefaultBackgroundBlurRadius. The larger the radius, the more profound the blur effect. Larger radii may lead to decreased performance on older devices. To offset this, JTSImageViewController applies the blur effect to a scaled-down snapshot of the background view.
|
optional |
The background color of the image view itself, not to be confused with the background color for the view controller's view.
You may wish to override this method if displaying an image with dark content on an otherwise clear background color (such as images from the XKCD What If? site).
The default color is [UIColor clearColor].
|
optional |
The font used in the alt text mode's text view.
This method is only used with JTSImageViewControllerMode_AltText.
|
optional |
Return YES if you want the image thumbnail to fade to/from zero during presentation and dismissal animations.
This may be helpful if the reference image in your presenting view controller has been dimmed, such as for a dark mode. JTSImageViewController otherwise presents the animated image view at full opacity, which can look jarring.
1.8.9.1