mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Stories
This commit is contained in:
parent
99cb9d4832
commit
3d51d83e89
12 changed files with 305 additions and 171 deletions
|
|
@ -254,6 +254,18 @@ static void registerEffectViewOverrides(void) {
|
|||
if (@available(iOS 26.0, *)) {
|
||||
registerEffectViewOverrides();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
Class cls = NSClassFromString(@"WKBrowsingContextController");
|
||||
SEL sel = NSSelectorFromString(@"registerSchemeForCustomProtocol:");
|
||||
if ([cls respondsToSelector:sel]) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
|
||||
[cls performSelector:sel withObject:@"http"];
|
||||
[cls performSelector:sel withObject:@"https"];
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
#endif
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue