Post

Replies

Boosts

Views

Activity

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
366
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
591
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
588
Jul ’23