2017-03-02 78 views
0

有沒有什麼辦法可以在出現MFMailcomposer後立即顯示UIAlertController?在這種情況下UIAlertView工作正常。問題是我認爲,視圖控制器現在已經改變。任何建議請。MFMailComposer not showing UIAlertController

+0

嗨,得到解決方案。在呈現的視圖而不是自我視圖上呈現alertcontroller將解決該問題。 [self.presentedViewController presentViewController:alertController animated:YES completion:nil]; – shini

回答

0

得到解決方案。在呈現的視圖而不是自我視圖上呈現alertcontroller將解決該問題。

[self.presentedViewController presentViewController:alertController animated:YES completion:nil];