Post

Replies

Boosts

Views

Created

ViewController Not Displayed for 8th Tab in Elevated Tab Bar with More Than 7 Tabs
ViewControllers for the 8th and higher tabs are not displayed in the elevated Tab Bar. However, I am able to select these tabs both in the Tab Bar and the side bar. func setTabs(){ let colors = [UIColor.red,.systemGray6,.green,.systemMint,.cyan,.yellow,.blue,.magenta] var tabs = [UITab]() let range = 0...10 for index in range { if #available(iOS 18.0, *) { let tab = UITab(title: "Tab_\(index)", image: UIImage(systemName: "globe"), identifier: "tab__\(index)", viewControllerProvider: {tab in let vc = UIViewController() vc.view.backgroundColor = colors[index%colors.count] return vc }) tabs.append(tab) } } tabbarController.setTabs(tabs, animated: true) }
1
0
603
Jul ’24
Not able to download the file using Background Assets for TestFlight build
Hi, I used Background assets to download files during install/update events. The debug build works fine when I trigger the install event through terminal. The same code base (with different bundle ID ) is used in Test Flight build. But the file is not downloaded when I install the TestFlight build. I'm getting following error in Console while installing the TestFlight build. sometimes, i'm getting Failed to notify extension about finished download: BAURLDownload (0x61a80ab98): guard let url = URL(string:"https://devstreaming-cdn.apple.com/videos/wwdc/2021/10220/6/3866585A-3920-44B4-AB3F-03A446FCDE3A/downloads/wwdc2021-10220_hd.mp4") else{ return Set() } switch (request) { case .install, .update: let essentialDownload = BAURLDownload( identifier: "avtar345", request: URLRequest(url: url), essential: true, fileSize: 155384552, applicationGroupIdentifier: appGroupIdentifier, priority: .default) downloadsToSchedule.insert(essentialDownload) break; case .periodic: break; }
1
0
737
Jul ’23
Failed to notify extension about finished download: BAURLDownload
Hi team, I tried to download an image using the background assets . In development it downloads the image when I trigger the xcrun backgroundassets-debug command with instal event. But the image is not downloading for Test flight build. In console I observed the following errors while installing the app, Why am I getting this error while installing the app and how to resolve this?
0
0
695
Jul ’23
iOS 18 - How to retrieve the current order of the tabs in iPad
In iOS 18 on iPad, the elevated tab bar order is persisted by the system. After reordering the tabs, how can I retrieve the current order of the tabs? and how to override the order programatically.
Replies
1
Boosts
0
Views
651
Activity
Jul ’24
Not able to use UITabBarControllerDelegate.tabBarController(:didSelectTab:previousTab:)
In iOS18, Not able to use the UITabBarControllerDelegate.tabBarController(:didSelectTab:previousTab:) function. Since it have duplicate parameter name for didselectTab and previousTab , we're getting Invalid redeclaration of 'tab' error.
Replies
1
Boosts
0
Views
919
Activity
Jul ’24
ViewController Not Displayed for 8th Tab in Elevated Tab Bar with More Than 7 Tabs
ViewControllers for the 8th and higher tabs are not displayed in the elevated Tab Bar. However, I am able to select these tabs both in the Tab Bar and the side bar. func setTabs(){ let colors = [UIColor.red,.systemGray6,.green,.systemMint,.cyan,.yellow,.blue,.magenta] var tabs = [UITab]() let range = 0...10 for index in range { if #available(iOS 18.0, *) { let tab = UITab(title: "Tab_\(index)", image: UIImage(systemName: "globe"), identifier: "tab__\(index)", viewControllerProvider: {tab in let vc = UIViewController() vc.view.backgroundColor = colors[index%colors.count] return vc }) tabs.append(tab) } } tabbarController.setTabs(tabs, animated: true) }
Replies
1
Boosts
0
Views
603
Activity
Jul ’24
Not able to download the file using Background Assets for TestFlight build
Hi, I used Background assets to download files during install/update events. The debug build works fine when I trigger the install event through terminal. The same code base (with different bundle ID ) is used in Test Flight build. But the file is not downloaded when I install the TestFlight build. I'm getting following error in Console while installing the TestFlight build. sometimes, i'm getting Failed to notify extension about finished download: BAURLDownload (0x61a80ab98): guard let url = URL(string:"https://devstreaming-cdn.apple.com/videos/wwdc/2021/10220/6/3866585A-3920-44B4-AB3F-03A446FCDE3A/downloads/wwdc2021-10220_hd.mp4") else{ return Set() } switch (request) { case .install, .update: let essentialDownload = BAURLDownload( identifier: "avtar345", request: URLRequest(url: url), essential: true, fileSize: 155384552, applicationGroupIdentifier: appGroupIdentifier, priority: .default) downloadsToSchedule.insert(essentialDownload) break; case .periodic: break; }
Replies
1
Boosts
0
Views
737
Activity
Jul ’23
Failed to notify extension about finished download: BAURLDownload
Hi team, I tried to download an image using the background assets . In development it downloads the image when I trigger the xcrun backgroundassets-debug command with instal event. But the image is not downloading for Test flight build. In console I observed the following errors while installing the app, Why am I getting this error while installing the app and how to resolve this?
Replies
0
Boosts
0
Views
695
Activity
Jul ’23