mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
[ASViewController] Allow VC to conform to range updating protocol, log message if impossible to update
This commit is contained in:
@@ -64,7 +64,12 @@ typedef ASTraitCollection * _Nonnull (^ASDisplayTraitsForTraitWindowSizeBlock)(C
|
||||
|
||||
@interface ASViewController (ASRangeControllerUpdateRangeProtocol)
|
||||
|
||||
/// Automatically adjust range mode based on view events if the containing node confirms to the ASRangeControllerUpdateRangeProtocol
|
||||
/**
|
||||
* Automatically adjust range mode based on view events. If you set this to YES, the view controller or its node
|
||||
* must conform to the ASRangeControllerUpdateRangeProtocol.
|
||||
*
|
||||
* Default value is NO.
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL automaticallyAdjustRangeModeBasedOnViewEvents;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user