If you wish to show additional activity items such as "Question 1 - correct/incorrect" then "Question 2" - correct/incorrect" and so on, there does not seem to be a way to determine the order in which they will show to the teacher.The "What's New in ClassKit - WWDC 2019" video shows this as an example at the 23:10 point of the video, but it doesn't seem possible to accomplish in code.Even if the addAdditionalActivityItem calls are made in order so that each is added to the additionalActivityItems array in the order that you wish for them to display, they appear in a random order when the Teacher views the results of a completed activity.The primaryActivityItem is always shown first, but the additionalActivityItems appear in a random order. Seems like we need a displayOrder property for CLSActivityItem similar to the property on a CLSContext. Is there any way to accomplish this as of now?
Post
Replies
Boosts
Views
Activity
Can you share what will be the String for the details property of the default CLSProgressReportingCapability.Kind.duration?
Thank you!
For a Core Spotlight activity you can use CSSearchableItemActionType, like this:
.onContinueUserActivity(CSSearchableItemActionType, perform: handleUserActivity)
I am not able to find documentation showing other activityType strings that can be used here. For example, I'm looking for the activityType which indicates a ClassKit activity with a contextIdentifierPath.
Thank you!
In Xcode 13 beta 4, the Sample Code Using MusicKit to Integrate with Apple Music has compiler errors around the player.play() calls in handleTrackSelected and handlePlayButtonSelected. The error is "async call in a function that does not support concurrency / call can throw, but is not marked with try and the error is not handled"
Would it be possible to include a fix for this error in the sample code - or could somebody share a fix here in the forums?
Thanks so much!
Is it intended for Sign in with Apple to work on an M1 Mac that is running an iOS app?
I have an iOS app with Sign in with Apple which is working well on iPhone and iPad.
In my M1 Mac testing, when pressing the ASAuthorizationAppleIDButton, it shows a nice popover explaining Sign in with Apple, but then when pressing "Continue" it just turns into a white screen with no options to continue or exit out so that the app is effectively frozen.
Should I remove the Sign in with Apple option when isiOSAppOnMac or is it intended to work on M1 Macs?
Thanks!
If I have a monthly subscription offering for an app and also a yearly subscription offering for the same app.
And if I set up a win-back offer through App Store Connect on the yearly subscription offering.
Will this win-back offer be shown to lapsed subscribers of both the monthly and yearly offerings?
Or would it be necessary to create a different win-back offer for each offering if we want lapsed subscribers to see a win-back offer regardless of which subscription they had previously purchased?
Thanks so much in advance!