In the WWDC 2024 session, "Bring context to today's weather", it was mentioned that the Swift API now uses FlatBuffers when downloading the weather data to the client device.
Will Apple's API for FlatBuffers be made available to developers? If its already in the SDK (client side) it would seem a shame to have to include another framework that does the same thing.
Post
Replies
Boosts
Views
Activity
I am trying to get the playbackStoreID via the MPMediaPickerController so I can play songs in my app. For many songs I can see and select I am getting a value of "0" for the playbackStoreID on the returned MPMediaItem.
Now if I use the "Music" app I can play those songs, but since the playbackStoreID is "0" I cannot successful get them in the queue for a MPMusicPlayerController.applicationQueuePlayer
What's the deal?
How do I get a proper ID that I can use to get those songs played?
If I cannot, how can I hide those songs from the MPMediaPickerController so a user does not think they can play those songs in my app?
Am tired of asking my boss to forward me the emails they get from Apple with the subject "The uploaded build for XXXX has one or more issues."
I am trying to debug issues such as ITMS-91053: Missing API declaration as we deal with our 3rd party package usage.
What permissions, privileges do I need to get those emails?
We are getting warnings from Apple, ITMS-91053 Missing API declaration, for categories Disk Space, Timestamp, and more. But we've checked our source code to make sure we are not making any of the entry points at issue.
We suspect they are being called from one of the 3rd party frameworks we use, some of them are binary xcframeworks.
Is Apple planning on extending their warnings to provide more information about where the usages are? Are we left to find it ourselves? Do we need to resort to adding those reasons to our app's manifest? Which seems hacking since we probably don't know when of the allowed reasons are accurate.
I was about to finally sign up for the Apple Music affiliate program since one of my apps does provide the MusickKit Subscription Offer. However, it looks like it was renamed and restricts usage to only artists and record labels. (https://partners.applemediaservices.com)
Is this correct? Can I as an indie developer not earn commission of Apple Music that I drive from my apps?
Whenever we submit a new release to the App Store we get a nag email from Apple that states, "The app binary listed below was 199.2 MB when you submitted it, but will be 223.9 MB once processed for the App Store. This exceeds the cellular network download size limit and may require your app to be downloaded over Wi-Fi."
However, when I download the app from the App Store and have the Settings set to "Alway Ask" on my phone the alert shows 129 MB, which is matches up closely with what we see in the TestFlight metadata for all device types except "Universal".
What is "Universal" device type in these days of thinning? And why is Apple apparently using that number to generate the nag email?
I keep getting random crashes, when attempting to reconfigure an existing item. I check immediately for that if the item identifier exists in the data source and do not attempt to configure it if it's not. This is there error message: "Attempted to reconfigure item identifier that does not exist in the snapshot: ..."
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x9cb4 __exceptionPreprocess
1 libobjc.A.dylib 0x183d0 objc_exception_throw
2 Foundation 0x4e154c _userInfoForFileAndLine
3 UIKitCore 0xa44a8 -[__UIDiffableDataSourceSnapshot _validateReloadUpdateThrowingIfNeeded:]
4 UIKitCore 0xa2ed8 -[__UIDiffableDataSourceSnapshot _commitUpdateAtomic:]
5 UIKitCore 0x561048 -[__UIDiffableDataSourceSnapshot reconfigureItemsWithIdentifiers:]
6 libswiftUIKit.dylib 0x35d0c NSDiffableDataSourceSnapshot.deleteItems(_:)
7 Trulia 0x45380c closure #1 in ActivityFeedV3ViewController.updateUI(for:)
8 Trulia 0x4c4f58 thunk for @escaping @callee_guaranteed () -> () (<compiler-generated>)
Am looking to finally updating some old code now that we are dropping iOS 15 support and want to move to the new mkMapView configurations such as MKHybridMapConfiguration.
However when I use that configuration I cannot get it to show traffic conditions, even though I am setting showsTraffic = true
Bug, feature, dumb coding error on my part?
I love the new UIImage(resource:) initializer that uses the automatically generated symbols for my image assets.
However, there does not appear to be an equivalent in SpriteKit so I am forced to still use SKSpriteNode(imageNamed:)
I am using Xcode 15 Beta 7.
Will this be included when Xcode 15 goes into production?
I am looking to see if I can use the new feature that generates constants from my colors and image asset catalogs. It works easy-peaze in the main application, but when I try to use it inside a Swift Package that contains asset catalogs the constants are not being created.
Feature or Bug?
I have a designer asking how popular dark mode usage is among iPhone users. Are there any legit statistics available on the subject that someone (may Apple) can point them to?
Am working on projects that support the iPhone and the iPad. I need the functionality provided by the UIView.readableContentGuide so that on an iPad the content remains readable.
Why is it not supported in SwiftUI?
When will it or an equivalent be available in SwiftUI?
I want to use a NSCollectionViewDiffableDataSource with the newish UICollectionLayoutListConfiguration, but I have a requirement that when deleting a cell it needs to animate out from the right; ditto for when inserting items.
However I see no way to control the animation. I know that the UITableViewDiffableDataSource has the defaultRowAnimation property that can be set to affect the animation - Is there an equivalent approach to controlling that of the UICollectionViewDiffableDataSource?
For the life of me I cannot find any documentation that explains the limits of how much space an app can use in the Public and Private database. How to get more Public space, and how to know we need to ask the user to get more iCloud storage for their private database.
Any pointers appreciated...
I just want to see if anyone has worked around the following issue. I did file feedback at FB11405641.
Using Apple's demo app from WWDC, if I open the LookAround when on an iPad in either split screen or using Stage Manager the full screen representation is not respecting the actual size of the window. See
Here are some videos showing the issue:
https://www.hotngui.com/tmp/SplitScreen.mov
https://www.hotngui.com/tmp/StageManager.mov