Is there anyway to check if a view, subview of a view controller, is visible or not right now?
I checked link 1, link 2 and link 3. All these post discussed about UIViewController's view and wrote condition depending on view's window property. But I want to check if a view is visible right now or covered by other view or hidden, which I cannot do with the following condition.
if (viewController.isViewLoaded && viewController.view.window) {
// viewController is visible
}
Any help about how I can do that? thanks.