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
}
}
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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...
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags:
CloudKit
iCloud Drive
Cloud and Local Storage
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?
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 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 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?
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?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store
Swift Playground
App Submission
App Store Connect
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?
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?
I have noticed that I am not getting any form of notification that someone has replied to a question I pose on this forum. I don't get a chance to constantly check the forums so it would be nice if we could be notified.
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.
I want to clean up a bunch of questions that I have asked that have reasonable responses, but I cannot figure out for the life of me how to indicate that a question is Solved.
I do still see a "Solved" count in my profile.
I have a UICollectionViewDiffableDataSource that has its supplementaryViewProvider property set to a closure that returns a header view for the cell.
The closure is only getting called for the first section of the collectionView regardless of the number of sections there are, each of which do contain cells.
I am using Xcode 13 beta 5.
When a user receives a provisional notification they are given an option to keep receiving notifications or stopping then. If they tap "Keep" they use to get asked if they want them to be delivered prominent or quietly.
Well, in iOS 15 (Xcode 13) my users are not getting that choice and the notifications are stuck in "delivered quietly" unless the user happens to change that in their Settings.
This defeats the purpose of provisional notifications and I have to go back to the old way which causes the user to be interrupted in the app when I have to ask permission.
I am guessing its related to the new Summary feature that recently got added by Apple.
What's going on here, Apple?
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