mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add support for disabling progressive image rendering
Differential Revision: https://phabricator.pinadmin.com/D89742
This commit is contained in:
@@ -73,6 +73,12 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
@property (nonatomic, assign, readwrite) BOOL shouldCacheImage;
|
||||
|
||||
/**
|
||||
* If the downloader implements progressive image rendering and this value is YES progressive renders of the
|
||||
* image will be displayed as the image downloads. Defaults to YES.
|
||||
*/
|
||||
@property (nonatomic, assign, readwrite) BOOL shouldRenderProgressImages;
|
||||
|
||||
/**
|
||||
* The image quality of the current image. This is a number between 0 and 1 and can be used to track
|
||||
* progressive progress. Calculated by dividing number of bytes / expected number of total bytes.
|
||||
|
||||
Reference in New Issue
Block a user