Post

Replies

Boosts

Views

Activity

How to find usages of Reason Required API?
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.
4
0
2.0k
Mar ’24
Will FlatBuffers API be made available?
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.
3
0
663
Jun ’24
UICollectionViewCompositionalLayout + paging + rotation == not handled correctly
Am trying to get away from using UIPageViewController for a number of reasons, not the least of which is several perennial crashes that happen occasionally that I've never been able to reproduce myself but happen enough in the wild to be noticeable. I have high hopes for the new UICollectionViewCompositionalLayout in iOS 13 SDK; have worked around the safeArea issue. However, I cannot find a way to workaround or fix the problem that occurs when I rotate the device. Before rotation things are great, paging works, etc. Then when I do rotate the device the collectionView is scrolled such that I see half of two separate cells. Basically the current cell is not handled correctly. Any ideas or suggestions? Below is my layout for reference. Its as basic as one can get.     private func createLayout() -> UICollectionViewLayout {         let itemSize = NSCollectionLayoutSize(widthDimension: .fractionalWidth(1.0), heightDimension: .fractionalHeight(1.0))         let item = NSCollectionLayoutItem(layoutSize: itemSize)         let groupSize = NSCollectionLayoutSize(widthDimension: .fractionalWidth(1.0), heightDimension: .fractionalHeight(1.0))         let group = NSCollectionLayoutGroup.vertical(layoutSize: groupSize, subitems: [item])         let section = NSCollectionLayoutSection(group: group)         section.orthogonalScrollingBehavior = .groupPaging         let layout = UICollectionViewCompositionalLayout(section: section)         return layout     } }
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
1.1k
Sep ’21
I want same microphone feature as Mail app
I have user's wondering why my apps do not have a microphone icon in search fields that let them go directly to dictation, like the iOS Mail app. I know of no feature that would allow me to accomplish the same look/behavior. Understanding that the user first has to bring up the regular keyboard then tap the microphone on the bottom of the keyboard. Apple's apps should not be using features in what appear to be standard components that us app developers don't have access to. Before I file the enhancement/bug report I just want to confirm that I am correct in my thinking.
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
782
Mar ’21
CLLocationButton does not show pressed states
I am starting to use CLLocationButton in my apps, but can see an issue with its behavior. When the user taps on a UIButton it is visually noticeable that it's being tapped. Color/Alpha change, image adjusts, etc... When the user taps on a CLLocationButton there is no queues as to it being pressed. I've had several test users complain already that they think the button is not working given that the action might not result in an immediately change to the UI. Apple FB: FB10019792 Open Radar: https://openradar.appspot.com/FB10019792
2
0
1.1k
May ’22
Cannot get correct height for wrapped SWAttributionView
I am attempting to utilize the new SWAttributionView in SwiftUI since I am adding SharedWithYou support to one of my apps. Below is the UIViewRepresentable I created to wrap the UIKit component. I have tried many combinations of view modifiers, but have not figured out how to get the height to be just what's needed. My goal is to pin the view near the bottom trailing edge of the view containing it. If I do the same UIViewRepresentable wrapping a UILabel, for testing purposes, I can simple use .fixedSize on it and a Spacer() to get the vertical effect I am looking for. struct AttributionView: UIViewRepresentable {     var highlight: SWHighlight     func makeUIView(context: Context) -> SWAttributionView {         SWAttributionView()     }     func updateUIView(_ uiView: SWAttributionView, context: Context) {         uiView.highlight = highlight         uiView.backgroundStyle = .material       uiView.horizontalAlignment = .trailing         uiView.displayContext = .summary     } }
0
0
1.1k
Jul ’22
MKLookAround broken on split screen and stage manager
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
1
0
1.3k
Sep ’22
Is it possible to customize the animation when deleting items in a NSCollectionViewDataSource?
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?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
740
Dec ’22
No UIImage(resource:) equivalent for SpriteKit
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?
1
0
814
Sep ’23