Posts

Post not yet marked as solved
10 Replies
9.9k Views
I don't understand the changes made to the tab bar in iOS 15. In my app, I have a collection view that goes all the way down to the bottom of the screen. When the tab bar appears, it covers some of that collection view, which is fine. However, in iOS15, the tab bar has no background (and no blur effect), thus making the tab bar item text hard to see over the collection view. In interface builder, I tried turning on the "Scroll Edge" option. This gives a translucent background to the tab bar similar to what I had in iOS 14. Unfortunately, the menu tab bar item text size is affected by this option. For some reason, it doesn't use the font size I set, but something smaller. Why is this happening? How do I get it to use the correct font size? P.S. I'm only using text for the tab bar items. There are no images.
Posted
by DropZap.
Last updated
.
Post not yet marked as solved
2 Replies
5.0k Views
If you try to change the bar item text color programmatically like in iOS 14, it doesn't work in iOS 15. For example: // https://stackoverflow.com/questions/2576592/changing-font-size-of-tabbaritem/ UITabBarItem.appearance().setTitleTextAttributes(   [NSAttributedString.Key.foregroundColor: UIColor.red],   for: .normal) This correctly changes the color when the tab bar is on top of a scroll view. However, when the tab bar background becomes clear, all tab bar item text is red and not just the text for the currently selected tab. Is this a bug in iOS 15? Or is this code wrong for iOS 15?
Posted
by DropZap.
Last updated
.
Post marked as solved
1 Replies
636 Views
When starting a project from scratch in Xcode 13, an app info property is put in the target settings under "info" or in a separate file "appname-iOS-info". So where should I put the UIUserInterfaceStyle property to indicate that an app is dark mode only? Or is there another way to indicate that an app is dark mode only?
Posted
by DropZap.
Last updated
.
Post not yet marked as solved
1 Replies
547 Views
In particular, it shows the friends leaderboard. You could of course switch to the global leaderboard manually but I want the global leaderboard to appear initially. This is the constructor that I tried that fails: GKGameCenterViewController(leaderboardID: ..., playerScope: .global, timeScope: .allTime) Is it possible to show the global leaderboard initially?
Posted
by DropZap.
Last updated
.
Post not yet marked as solved
1 Replies
355 Views
If an app's data format changes in a future beta (e.g., Mail), could data corruption occur that is hard to detect? And if so, could this data corruption spread across devices via iCloud — even to devices not running beta software? And so this data corruption could become permanent?
Posted
by DropZap.
Last updated
.