ykyouhei / KYNavigationProgress

Simple extension of UINavigationController to display progress on the UINavigationBar.
MIT License
245 stars 15 forks source link

Splitview Controller - DetailView - Progress does not show #3

Open Sun3 opened 8 years ago

Sun3 commented 8 years ago

When you are using a SplitView Controller (like the Master/Detail Xcode template) when you open up the Detail View in Portrait mode, the Progress Bar does not show.

This only happens on the iPhone. On the iPad it appears in the Detail View.

Any ideas? Great control by the way.

Sun3 commented 8 years ago

Sorry, hit the wrong button :)

ykyouhei commented 7 years ago

@Sun3

if let navigationController = self.navigationController {
    // iPhone
} else if let navigationController = self.splitViewController?.childViewControllers.first as? UINavigationController {
    // iPad       
}