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.
Post
Replies
Boosts
Views
Activity
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.
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)
}
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;
}
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?