Posts

Post not yet marked as solved
0 Replies
218 Views
Hello, Is there a place where Apple announces changes in app review process or is there only a general guideline here - https://developer.apple.com/app-store/review/guidelines/ I am asking because for example with iOS13 we have Modal presentation style, which is nice but in some cases might cause ending with blank page (swipe dismiss card). That will probably cause app to being reject (the same codebase would pass approval before iOS13 release).
Posted
by iDamian.
Last updated
.
Post not yet marked as solved
4 Replies
1.4k Views
Hello,After making code changes for iOS13 I spot strange looking of my navbar. After watching WWDC 2019 and reading a lot of internet articles I am still not able to make look like in iOS12.https://aws1.discourse-cdn.com/swift/original/2X/1/1da504f6b72dcb13f4068525e60cbde66b349f27.pngMy code: let tintColor = Theme.default.accent if #available(iOS 13.0, *) { let navigationBarAppearance = UINavigationBarAppearance() navigationBarAppearance.backgroundColor = UIColor(hexString: "#000000") UINavigationBar.appearance().tintColor = .white navigationBarAppearance.titleTextAttributes = [.foregroundColor: UIColor.white] navigationBarAppearance.largeTitleTextAttributes = [.foregroundColor: UIColor.white] UINavigationBar.appearance().isTranslucent = true UINavigationBar.appearance().barTintColor = UIColor(hexString: "#000000") UINavigationBar.appearance().barStyle = UIBarStyle.black UINavigationBar.appearance().scrollEdgeAppearance = navigationBarAppearance UINavigationBar.appearance().compactAppearance = navigationBarAppearance UINavigationBar.appearance().standardAppearance = navigationBarAppearance UITabBar.appearance().tintColor = tintColor let tabBarAppearance = UITabBarAppearance() tabBarAppearance.backgroundColor = tintColor UITabBar.appearance().standardAppearance = tabBarAppearance } else { // Fallback on earlier versions UINavigationBar.appearance().isTranslucent = true UINavigationBar.appearance().tintColor = .white UINavigationBar.appearance().barTintColor = UIColor(hexString: "#000000") UINavigationBar.appearance().barStyle = UIBarStyle.black UITabBar.appearance().tintColor = tintColor } UISwitch.appearance().onTintColor = tintColor UIRefreshControl.appearance().tintColor = tintColor UIToolbar.appearance().tintColor = tintColor let popoverBarAppearance = UINavigationBar.appearance(whenContainedInInstancesOf: [UIPopoverPresentationController.self]) popoverBarAppearance.tintColor = tintColor popoverBarAppearance.barTintColor = nil popoverBarAppearance.barStyle = .defaultSome ideas what I am missing ?Best regards,Damian
Posted
by iDamian.
Last updated
.