NOUMAN PERVEZ

Results 2 comments of NOUMAN PERVEZ

Did you found out any solution for this? I am also facing the same issue.

I found out the reason. I was calling the method before execution of [self.window makeKeyAndVisible], which in turn I was getting _mainWindow = [UIApplication sharedApplication].keyWindow; as nil value. Thanks.