I want to add a button to my live activity which stops a timer. The docs say to use a URL deep link, which works fine, however it forces the App to open.
I want the timer to stop after the button is pressed and end the live activity without opening my app, like the built in Clock.app timer works.
Is this possible?
Post
Replies
Boosts
Views
Activity
Issue noticed when upgrading to Xcode 12.
Whilst debugging Swift code I noticed that variables of type Date show no value in the debuggers variable view.
notificationDate (Date)
If I put a cast in my Swift code to NSDate:
let nsNotificationDate = notificationDate as NSDate
Then it shows a value in the debugger variables view:
notificationDate = (NSDate) 2020-09-17 16:58:40 UTC
If I 'po' the Date variable in the debug console I can see its value.
Printing description of notificationDate:
▿ 2020-09-17 16:58:40 +0000
- timeIntervalSinceReferenceDate : 622054720.023765
If I 'po' the NSDate cast version I can also see its value.
Printing description of nsNotificationDate:
2020-09-17 16:58:40 +0000
I've not noticed this happening pre Xcode 12 so think its a new Xcode bug.. anyone else notice this or have any pointers?
With the recent changes when I log into AppStore Connect it keeps selecting a clients team as default instead of the one for my company. I can change teams easily but I'd really prefer to select my team as the default choice so that I don't have to keep swapping it every time I login.Any ideas if this is possible?