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