Skip to content

Elucidating the World Daily

Sharing my findings, adventures and experiences

  • Home
  • About
  • Contact
  • Twitter
  • Facebook
  • GitHub
  • LinkedIn
Elucidating the World Daily

Tag: context

UIWindow Presentation Context

Get top most presented UIViewController of UIWindow

There are times when we need to get top most presented UIViewController. We can do so with help of an extension of UIWindow. Consider the following code:

Then we can call using:

Author chashaamPosted on August 31, 2017Tags context, presentation, top, uiviewcontroller, uiwindowLeave a comment on UIWindow Presentation Context
  • Home
  • About
  • Contact
  • Twitter
  • Facebook
  • GitHub
  • LinkedIn
Elucidating the World Daily Powered by WordPress.com.