登录成功之后,ResultViewController 页面无法弹出
Closed this issue · 1 comments
tang3w commented
控制台会提示:
LeanCloudSocialDemo[9281:262876] Warning: Attempt to present <ResultViewController: 0x7ff6ba5ca8f0> on <UINavigationController: 0x7ff6ba672de0> whose view is not in the window hierarchy!
应该是执行 -performSegueWithIdentifier:sender:
方法时,登录页面还没有消失引起的。
要不直接弹个 UIAlertView 来告诉用户登录成功吧?