mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 03:09:56 +00:00
Split "view controller."
This commit is contained in:
parent
8482109670
commit
80d0df1697
@ -303,7 +303,7 @@
|
||||
}
|
||||
|
||||
- (UIView*) viewForShowingActionSheetOnPhone {
|
||||
//find the topmost presented viewcontroller
|
||||
//find the topmost presented view controller
|
||||
//and use its view
|
||||
UIViewController* topMostPresentedViewController = self.view.window.rootViewController;
|
||||
while(topMostPresentedViewController.presentedViewController) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user