mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Improve rotation support for ASPagerNode
This commit is contained in:
@@ -89,7 +89,10 @@
|
||||
/// The underlying ASCollectionView object.
|
||||
@property (nonatomic, readonly) ASCollectionView *view;
|
||||
|
||||
/// Scroll the contents of the receiver to ensure that the page is visible.
|
||||
/// Returns the current page index
|
||||
@property (nonatomic, assign, readonly) NSInteger currentPageIndex;
|
||||
|
||||
/// Scroll the contents of the receiver to ensure that the page is visible
|
||||
- (void)scrollToPageAtIndex:(NSInteger)index animated:(BOOL)animated;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user