Post

Replies

Boosts

Views

Activity

Reply to didReceiveRemoteNotification Method in AppDelegate never called
My understanding is that in the simulator you can simulate notifications by drag-dropping a suitable JSON file onto the simulator - or with some command-line that achieves the same thing. I don't know what you've read, but maybe it was referring to that functionality? This is something that has changed over time and googling finds lots of old suggestions of how to do it that are probably redundant...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’23
Reply to didReceiveRemoteNotification Method in AppDelegate never called
My understanding is that in the simulator you can simulate notifications by drag-dropping a suitable JSON file onto the simulator - or with some command-line that achieves the same thing. I don't know what you've read, but maybe it was referring to that functionality? This is something that has changed over time and googling finds lots of old suggestions of how to do it that are probably redundant...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to CGImageCreate() returns nil.
Please post your actual code. What width and height are you actually passing? What have you changed in the third line? You don't want kCGBitmapByteOrderMask. You need to pass one of the actual byte order values, e.g. kCGBitmapByteOrder16Little.
Replies
Boosts
Views
Activity
Feb ’23