Post

Replies

Boosts

Views

Activity

Reply to How to stop navigation items from moving into an overflow menu
I found the source of my problem. Because iOS 26 puts more space between navigation bar and toolbar items, I had to rework the way I'm adding items to navigation bars and toolbars to preserve the original spacing that my app is designed for. And my new code was adding some empty toolbar items every time it ran. So when I moved my app to the background, or resized its window, empty toolbar items were added that made the visible items no longer fit. I still don't know how to prevent toolbar items from going into an overflow menu, or how to make the overflow menu actually show the hidden items instead of just doing nothing when clicked. But by stopping the addition of extra toolbar items, the real items really do fit and remain visible as before.
Topic: UI Frameworks SubTopic: UIKit
Sep ’25
Reply to iOS 26 Navigation Bar Adaptation
You can set item.hidesSharedBackground = true More info is here: https://developer.apple.com/forums/thread/795837?page=1#855436022 All toolbar items (UINavigationBar and UIToolbar) still have more horizontal spacing than before, which is messing up my app (buttons that used to fit on a phone no longer fit). Please post if you find a way to override that change.
Sep ’25
Reply to UIMenuBuilder - some menus refuse customization
Thanks -- your code worked for me, so I was able to work backwards from there to find the problem. My View menu contains an item that opens my app's Settings window. But the default Application menu opens the iOS Settings app, which isn't very useful to users, so I had also overridden that menu to open my app's Settings window. It turns out a menu won't display if it contains an action that's already in another menu. And now I see a warning about this in the Xcode console, which I hadn't noticed before. 🙄 It was still working in Mac Catalyst because the default Application menu there is more useful and I wasn't overriding it, so I wasn't creating a duplicate. I simply made a second function that opens my app's Settings window, and used one in the Application menu and the other in the View menu, and now it's working.
Topic: UI Frameworks SubTopic: UIKit
Sep ’25
Reply to Partially disable liquid glass effect from navigation bars but retain on tabbar
I ended up completely replacing the back button: override func viewDidLoad() { super.viewDidLoad() let imageConfig = UIImage.SymbolConfiguration(pointSize: 24, weight: .unspecified, scale: .default) let image = UIImage(systemName: "chevron.left", withConfiguration: imageConfig) let backButton = UIBarButtonItem(image: image, style: .plain, target: self, action: #selector(clickBackButton)) backButton.hidesSharedBackground = true backButton.tintColor = .blue self.navigationItem.leftBarButtonItem = backButton } @objc func clickBackButton() { self.navigationController?.popViewController(animated: true) } The only downside I see so far is that the long-press on the back button to show a menu of the navigation stack is no longer available.
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’25
Reply to App Compiled under iOS 17 Beta 7 SDK with Xcode 15.0 beta 7 (15A5229h) crashes on iOS 12 devices.
I received another crash log from macOS that did symbolicate and pointed to a third-party library I'm using. The developer of that library pointed me to this item in the Xcode release notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking I don't know if this is the same issue as the original post, but the release notes include a change you can make to your build settings to bypass the issue (I don't have a way to test it myself on iOS 12 currently).
Sep ’23
Reply to App Compiled under iOS 17 Beta 7 SDK with Xcode 15.0 beta 7 (15A5229h) crashes on iOS 12 devices.
I got a crash log, but it doesn't resemble what you posted. It won't symbolicate in Xcode 14.3 and I haven't figured out how the symbolicate function works in Xcode 15 (the documentation references a button that is no longer there). I'm submitting an app update with Xcode 14.3 now and will submit my own bug report to Apple, and hopefully they will notify me if it's fixed so I know that it's safe to use Xcode 15 again. FWIW, here's how my crash log starts: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000b94000 VM Region Info: 0xb94000 is not in any region. Bytes before following region: 4294967296 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 0000000100b94000-0000000100b98000 [ 16K] r-x/r-x SM=COW ...pp/BandHelper Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [236] Triggered by Thread: 0 The stack trace for the crashed thread looks like this when opened in Xcode 15, but I don't know what to do with that:
Sep ’23
Reply to Bundle ID assigned to personal team rather than paid developer account
I ran into this as a freelance developer after asking my client to add my Apple ID to his individual App Store account. I then used my Apple ID to log into Xcode, and when I had to select a team, I selected the "personal team" option. I didn't know what that meant, but it was the only option available. What I should have done instead was log into Xcode with his Apple ID, which is counterintuitive because the rise of 2-factor authentication trains us not to use someone else's login info. But apparently that is the only way for someone besides the account owner to add an app to an individual account. (I could log into his App Store Connect account with my own Apple ID, but couldn't add an app that didn't already have an app ID created. And I couldn't log into his Provisioning Portal with my Apple ID to manually create the app ID, even though he gave me the maximum available permissions in his account.) Anyway, I tried Dipo's trick a few times without success, then tried ldittel's suggestion, but via email instead of phone. The first Apple representative told me that deleting the bundle ID wasn't possible, then I wrote back and said I think it is and linked to this thread and then a second representative deleted it for me.
Mar ’21