mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Temp: disable UIFocusSystem
This commit is contained in:
parent
c034423156
commit
a90b24e13c
@ -161,6 +161,18 @@ static bool notyfyingShiftState = false;
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@interface UIFocusSystem (Telegram)
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@implementation UIFocusSystem (Telegram)
|
||||||
|
|
||||||
|
- (void)_65087dc8_updateFocusIfNeeded {
|
||||||
|
//TODO:Re-enable
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
@implementation UIViewController (Navigation)
|
@implementation UIViewController (Navigation)
|
||||||
|
|
||||||
+ (void)load
|
+ (void)load
|
||||||
@ -183,6 +195,8 @@ static bool notyfyingShiftState = false;
|
|||||||
} else if (@available(iOS 15.0, *)) {
|
} else if (@available(iOS 15.0, *)) {
|
||||||
[RuntimeUtils swizzleInstanceMethodOfClass:[CADisplayLink class] currentSelector:@selector(setPreferredFrameRateRange:) newSelector:@selector(_65087dc8_setPreferredFrameRateRange:)];
|
[RuntimeUtils swizzleInstanceMethodOfClass:[CADisplayLink class] currentSelector:@selector(setPreferredFrameRateRange:) newSelector:@selector(_65087dc8_setPreferredFrameRateRange:)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[RuntimeUtils swizzleInstanceMethodOfClass:[UIFocusSystem class] currentSelector:@selector(updateFocusIfNeeded) newSelector:@selector(_65087dc8_updateFocusIfNeeded)];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user