Post

Replies

Boosts

Views

Activity

Setting Tint Color for Prominent Style UIBarButtonItems at App Level in iOS26
In iOS 26, with the introduction of the new prominent style buttons like system done, how to apply the tint color for these buttons in globally at app level. We are only able to set for individual buttons using barButtonItem.tintColor and need a way to apply globally. We’ve tried: UIBarButtonItem.appearance().tintColor UIBarButtonItem.appearance(whenContainedInInstancesOf: [UINavigationController.self]).tintColor but nothing worked. sample code: let doneButton = UIBarButtonItem(barButtonSystemItem: .done, target: nil, action: nil) doneButton.tintColor = .systemPink Is there a new recommended way to globally style UIBarButtonItem with the prominent style in iOS 26?
Topic: UI Frameworks SubTopic: UIKit Tags:
6
0
221
2w
Liquid glass: UIPageViewController inside UITabbarController adding blur effect always in iOS26
When using UIPageViewController inside a UITabBarController on iOS 26 with Liquid Glass adoption, visiting the PageViewController tab applies a blur effect to the navigation bar and tab bar even though the current child view controller of the pageView is not scrollable and does not reach behind these bars. Questions: Is this the expected behavior that the pageview's internal scroll view causes the bars to blur regardless of the page view's child content’s scrollability? If so, is there an official way to make the blur effect appear only when the pageview's current child view controller actually scrolls behind the navigation bar or tab bar, and not in static cases? Tried the same in SwiftUI using TabView and TabView with page style. Facing the same issue there as well. Sample screenshots for reference, Sample SwiftUI code, struct TabContentView: View { var body: some View { TabView { // First Tab: Paging View PagingView() .tabItem { Label("Pages", systemImage: "square.fill.on.square.fill") } // Second Tab: Normal View NavigationStack { ListView() } .tabItem { Label("Second", systemImage: "star.fill") } // Third Tab: Normal View PageView(color: .blue, text: "Page 3") .tabItem { Label("Third", systemImage: "gearshape.fill") } } .ignoresSafeArea() } } struct PagingView: View { var body: some View { TabView { PageView(color: .red, text: "Page 1") PageView(color: .green, text: "Page 2") PageView(color: .blue, text: "Page 3") } .tabViewStyle(.page) // Enables swipe paging .indexViewStyle(.page(backgroundDisplayMode: .always)) .ignoresSafeArea()// Dots indicator } }
1
0
139
3w
The Liquid glass blur effect does not show over the UITabBar as content scrolls underneath.
In iOS26, when using a standalone UITabBar without UITabBarController, the liquid glass blur effect is not applied when scrollable content moves behind the tab bar. However, the blur effect appears correctly when using UITabBarController. Sample Screenshots: When using UITababr When using UITababrController Sample Code: class SimpleTabBarController: UIViewController, UITabBarDelegate { let tabBar = UITabBar() let redItem = UITabBarItem(title: "Red", image: .add, tag: 0) let blueItem = UITabBarItem(title: "Blue", image: .checkmark, tag: 1) override func viewDidLoad() { super.viewDidLoad() view.backgroundColor = .white tabBar.items = [redItem, blueItem] tabBar.selectedItem = redItem tabBar.delegate = self tabBar.translatesAutoresizingMaskIntoConstraints = false let tableContainerView = TableContainerView() view.addSubview(tableContainerView) tableContainerView.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ tableContainerView.topAnchor.constraint(equalTo: view.topAnchor), tableContainerView.leadingAnchor.constraint(equalTo: view.leadingAnchor), tableContainerView.trailingAnchor.constraint(equalTo: view.trailingAnchor), tableContainerView.bottomAnchor.constraint(equalTo: view.bottomAnchor) ]) view.addSubview(tabBar) NSLayoutConstraint.activate([ tabBar.leadingAnchor.constraint(equalTo: view.leadingAnchor), tabBar.trailingAnchor.constraint(equalTo: view.trailingAnchor), tabBar.bottomAnchor.constraint(equalTo: view.bottomAnchor) ]) }
1
0
156
Jul ’25
iPadOS18 UITabBarController not releasing viewControllers after deinit with sidebar enabled
In iPadOS18 UITabBarController not releasing viewControllers after deinit with sidebar enabled. On checking the memory Graph Debugger we could see that the viewControllers are hold by UITab which in turn hold by UITabSidebarItem. We don't have control over the UITabSidebarItem and unable to remove the reference. The issue not happens when tabbarController mode is set to 'tabBar' instead of 'sidebar'. We have event tried to set empty tabs before dismiss the view but still the original tabs are not removing in memory and holding the viewcontollers as well. Anyone assist on this issue. Sharing the sample code here
1
0
420
Jan ’25
Contact Prodvider Extension key 'com.apple.contact.provider.extension' not accepting in Testflight submission
ERROR ITMS-90349: "Invalid Info.plist value. The value of the EXExtensionPointldentifier key, com.apple.contact.provider.extension, in the Info.plist of "MainApp.app/Extensions/ContactProviderExtension.appex" is invalid. We were working on new iOS18 Contacts Provider extension and when try to test the feature in testflight we were unable to submit the build and getting the above error. The extensionPointldentifier 'com.apple.contact.provider.extension' was auto generated by xcode and apple doc mentioned the same value to use for Contacts Provider extension support. But it is not accepting in testflight. https://developer.apple.com/documentation/contactprovider/contactproviderextension Any help will be appreciated.
0
1
641
Aug ’24
ContactAccessButton and ContactAccessPicker issues
We are trying to adopt the new iOS18 ContactAccessButton and ContactAccessPicker in our app and we are facing below issues and requirements in UI and functionality. is there a way to optionally hide the ContactAccessButton UI when there is no matching results ?. The search button in the ContactAccessButton UI is not working when showing no matches and browse contacts. The console showing below error #ContactsButton response after touch -- Should not show UI #ContactsButton: match for callback was unexpectedly nil? The ContactAccessPicker view and contact selection view opened from ContactAccessButton - view results are not presented properly. The presented view not fully covered the presenting screen and blank screen appears in edges Cancel button in ContactAccessPicker UI when list shown is not working.
9
3
821
Aug ’24
Adding Contact to Device Contacts app crashing in macOS ventura
We are using CNSaveRequest in CNContactStore to add contacts to system device contacts. But when calling execute method the app crashing in internal libraries.The code was working fine until macOS Monetery, In macOS Ventura beta we are facing this issue. Sample Code: let store = CNContactStore() store.requestAccess(for: .contacts, completionHandler: { isSuccess,error in guard isSuccess else { return } let contact = CNMutableContact() contact.familyName = "Hello" contact.givenName = "Contact" let request = CNSaveRequest() request.add(contact, toContainerWithIdentifier: nil) do { try store.execute(request) } catch { print(error) } }) Crash:
5
2
2.6k
Oct ’22
AppShortcutsProvider pharses not recognizable by Siri
We have implemented AppIntents in iOS16 and the shortcuts are working fine when manually added in shortcuts app. But the shortcuts created programaticaly using AppShortcutsProvider with AppShortcutsPhrases are not at all recognized by Siri. The AppIntents core feature is zero setup shortcuts, but it is not working as expected. Please suggest any fix for this. Sample Code: struct NotesShortcutProvider: AppShortcutsProvider { static var appShortcuts: [AppShortcut] { let shortcut = AppShortcut(intent: ShowTodayTasks(), phrases: ["Show today tasks","show my tasks today"]) return [shortcut] } } Tried with applicationName as well but no luck.
4
2
2.7k
Aug ’22
Restrict existing siri intents based shortcuts for iOS16
Hello, we are trying to implement our app shortcuts using the new App Intents framework. But the problem is existing siri intents based shortcuts also available in shortcuts app which results in duplication of shortucuts. Is there any way to restrict siri intents based shortcuts for iOS16 and only show app intents based shortcuts in Shortcuts app. We were unable to add any kind of target checks in intent definition file or info plist. Please provide any suggestions.
3
2
1.6k
Jul ’22
Price Locale not available in Product
In the latest Product object we are unable to get the price locale of the current product. Even though the display price string available with currency symbol, we need to display discount price of current product by comparing with other products. Earlier in SKProduct we had price locale property to achieve this.But in latest Product object we are missing this. Is there a way to get the price locale of the current storefront?. There is a countryCode property in Storefront enum. But there is no option to create locale using country code.
3
0
4.4k
Aug ’21
App supported languages not shown in mac appstore
Hi, We have an Mac Catalyst universal bundle app which support multiple languages(French,Spanish,German etc). But the languages are not getting displayed in Mac AppStore, only English is displayed under languages. The related iOS app (same bundle id) showing all supported languages in AppStore. The supported languages are available in Mac system preferences under my app language settings. We have also added the supported languages under app store connect localization is there anything specific we need to do, to show all supported languages in mac appstore for universal bundle app?
1
0
2.6k
Dec ’20