This article should use viewForKey:
instead of viewControllerForKey:
.view
.
Thanks @revolt for bringing that to the notice, however if you post a little bit of context rather than simply adding two links together, chances are your post might almost seem like spam.
cheers,
1 Like
Yeah, sorry about that. The thing is that Apple recommends using the viewForKey:
method instead of manually reading from the view
property of the view controller returned by viewControllerForKey:
.
In my case, it caused a black screen to show up at the end of the transition. Changing .view
to viewForKey:
fixed it.
This topic was automatically closed after 166 days. New replies are no longer allowed.