mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[tvOS] Branch out tvOS specific code into it's own categories
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
|
||||
@implementation ASPanningOverriddenUITextView
|
||||
|
||||
#if TARGET_OS_IOS
|
||||
// tvOS doesn't support self.scrollsToTop
|
||||
- (BOOL)scrollEnabled
|
||||
{
|
||||
return _shouldBlockPanGesture;
|
||||
@@ -48,6 +50,7 @@
|
||||
|
||||
[super setScrollEnabled:YES];
|
||||
}
|
||||
#endif
|
||||
|
||||
- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user