Post

Replies

Boosts

Views

Activity

UISplitViewController: Expanding and collapsing strategy unclear
My app currently uses a tab bar and I would like to implement a sidebar with a similar hierarchy on iPad. In the session video, the usage of a protocol is mentioned to set the state between the view controller in the tab bar and the view controller in the sidebar. The practicality however, is a bit unclear to me; why use this strategy instead of moving the view controllers from the tab bar controller to the split view controller? Having more view controllers in memory does not seem like a good idea, especially when the app is in the background. How do Photos and Music handle this issue considering their hierarchies are similar to their compact width counterparts? In my testing, I have tried updating the hierarchy using the didCollapse and didExpand delegate methods but this only resulted in the following crash: Mutating UISplitViewController is not allowed during a delegate callback. Additionally, the following crash may occur: Unexpected view controller change in Secondary column for expanding I also tried setting the tab bar controller for both compact and secondary but this adds a navigation controller to the tab bar controller in compact width.
1
0
1.3k
Nov ’20
Usage of Dolby Atmos Badge
Since iOS 16, MusicKit exposes audio variants, such as Dolby Atmos. In the session video at 9:09, the code is configured to show the Atmos badge. Considering it is a third party logo and not provided as an SF symbol, are developers allowed to use it in their own apps when using MusicKit? Is permission from Dolby required?
1
1
1.3k
Jan ’23
iCloud Drive app folder does not reappear
I am working on implementing iCloud Drive support in my app. Initially, I got the folder to appear but I had to do some bug fixes for the version currently in the App Store (thus removing iCloud Capabilities). Now I am trying to re-enable it but I cannot get the folder to re-appear. The container and files still exist when I am checking the directories on my Mac. I have tried increasing the build and bundle version, checked the entitlements file along with my info.plist file but nothing seems to work.
0
0
504
Mar ’23