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:
Sharing my findings, adventures and experiences
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: