PhamBaTho / BTNavigationDropdownMenu

The elegant yet functional dropdown menu, written in Swift, appears underneath the navigation bar to display a list of defined items when a user clicks on the navigation title.
MIT License
2.69k stars 410 forks source link

'keyWindow' was deprecated in iOS 13.0: Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes #155

Open sundialsoft opened 4 years ago

sundialsoft commented 4 years ago

Various deprecated items with keyWindow being the most serious. There are work arounds: eg let window = UIApplication.shared.windows.filter {$0.isKeyWindow}.first gets the same result without the deprecated message.