1
零當我設置完成:在presentModalViewController
[self presentModalViewController:Facebookcontroller animated:YES];
到
[self presentViewController:Facebookcontroller animated:YES completion:nil];
抹去的presentModalViewController:動畫被棄用:在IOS 6.0
第一棄用彈出一個警告:
實例方法'-presentModalViewController:animated:completion:'not發現(返回類型默認喲「身份證」)
是的;)。無論如何,它爲我工作!怎麼樣dismissModalViewControllerAnimated ...一樣? – Icarox
看起來沒問題,您可能想使用「FacebookController」而不是「FacebookController」。退房:http://cocoadevcentral.com/articles/000082.php – Tieme
是使用相同的dismissViewControllerAnimated:完成: – Tieme