Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Fix iOS 14 SwiftUI HostingViewController missing Navigation Items #282

Merged

Conversation

phil1995
Copy link
Collaborator

@phil1995 phil1995 commented Dec 5, 2022

On iOS 14 viewDidLoad gets not called when subclassing HostingViewController.
As we used the viewDidLoad for setting the title, navigationItems and setting up the bindings this leads to errors (see #280).
This PR fixes these problems and thus closes #280 by using a standard UIViewController and just embed the view of the HostingViewController.

Furthermore, the appearance of the WebDAVAuthentication Screen has been updated for iOS 14 to be also insetGrouped.

as `viewDidLoad` gets not called for a UIHostingController on iOS 14.
@tobihagemann tobihagemann added this to the 2.4.3 milestone Dec 6, 2022
@tobihagemann tobihagemann merged commit 6e4fc46 into develop Dec 6, 2022
@tobihagemann tobihagemann deleted the bugfix/fix_ios14_swiftui_hostingviewcontroller branch December 6, 2022 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No confirm button for webdav (iPad Pro)
2 participants