I understand the value in moving from the UIImagePickerController to the PHPhotoViewController, but it seems to missing the feature that allows the user to edit/crop the photo.
Am I missing something, or should I be submitting an enhancement request?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
try await WeatherService.shared.weather(for: sf, including: .daily(startDate: start, endDate: end))
If the start date is in the past I get an empty forecast. If start date is in the future I just get the current day's forecast. I tried with .hourly as well; got the same problem as I always get hourly data for the current day.
I am unable to get a UIButton's image to size as I change the font size. I can get the text in the label to work correctly using the adjustsFontForContentSizeCategory property on the button's label, but there appears to be now equivalent for the image.
If I restart the app after making the font size change, the button does indeed scale the image correctly so I know I have the preferred configuration setup correctly.
I figured I could work around the issue using traitCollectionDidChange and comparing the preferredContentSizeCategory, but I am still unable to get the button to resize itself no matter what I attempt to tweak.
Anybody else running into this issue? Any workarounds?
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?
After updated to Tahoe 26.2 and Xcode 26.2 it seems to have forgotten the Model Provider I had configured. I create a new Model Provider and it works fine, until I exit Xcode. When I open Xcode again my Model Provider is gone.
It all worked fine before I did the updates of MacOS and Xcode.
I am looking into using the new NSPersistentCloudKitContainer to sync some internal data for my app. Generally it works great, but I have one scenario that I cannot figure out.Here the basic scenario, there is a single record in CloudKit that created and used to keep track of some internal state. Keeping it the cloud allows for two cases: when the user open the app on another device (say an iPad) and when the user re-installs the app on the same device.If its indeed the very first time the user is using the app on any device, I need to create the record with a bunch of default initial values. I am okay with spending a little time at app startup determining if its a brand new user or an existing user installing on another device.I thought maybe observing NSPersistentStoreRemoteChangeNotification would provide a useful point in time that I can say "ah ha, now I know its a new user, or an existing user". However its gets called a lot and I cannot find anything in its userInfo that gives me a definitive answer to my question.Any suggestions?joey
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 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.
I did see a checklist in another post (see below) that I did verify as being configured correctly, but my delegate never gets called. I have confirmed that my universal link is working correctly as tapping on it in Messages does cause the app to open and handle it by going to the appropriate screen.
A couple of details:
My universal link is new and am testing it using Developer -> Associated Domains Development
I am rewriting my app using SwiftUI including @main being a struct derived from App
What else am I missing?
is Shared with You enabled for your app? Preferences > Messages > Shared with You and see if the toggle for your APP is enabled?
is Shared with You enabled for the conversation where these universal links are shared
In the conversation where the universal links are shared, is the participant a Contact?
If you have sent the link, then you will need to "Pin" the link for it to surface in Shared with You.
I am trying to use the new ShareLink component in an app I am moving to SwiftUI. If I use the init(items: Data, subject: Text?, message: Text?) variant of the initializer all works well. However if I try to include a preview using the initializer that takes an additional parameter that is a SharePreview instance I get a crash.
The crash complains about Fatal error: SWIFT TASK CONTINUATION MISUSE: data(contentType:) tried to resume its continuation more than once, throwing exportFailed!
thread #2, queue = 'com.apple.root.user-initiated-qos.cooperative', stop reason = Fatal error: SWIFT TASK CONTINUATION MISUSE: data(contentType:) tried to resume its continuation more than once, throwing exportFailed!
The creation of the SharePreview object itself succeeds with nothing. Its the initialization of the ShareLink object that goes boom.
Any ideas?
Known issue?
Wait for next beta?
Environment:
Xcode 14 beta 2,
iOS 16 beta 2,
iPhone 8
I am looking into the possibility of adding WeatherKit support to one of my apps. I have added the WeatherKit capability to my app and can see it up in the App ID configuration, the bundle ID is marked as explicit.
I waited overnight just in case, but I keep just getting the following error when I run on a real device:
Error Domain=WeatherDaemon.WDSJWTAuthenticatorService.Errors Code=1 "(null)"
This app has been in the store for years, so I know the rest of the configuration should be fine. What am I missing?
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 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 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>)