Post

Replies

Boosts

Views

Activity

Launch BGAppRefreshTaskRequest in simulator is not working
Hi, I tried to launch the BGAppRefreshTaskRequest from ColorFeed sample project on simulator. It is not working. Any idea why? Here is logging. 2022-03-16 09:59:18.133956-0400 ColorFeed[1225:23444] Simulating launch for task with identifier com.example.apple-samplecode.ColorFeed.refresh 2022-03-16 09:59:21.510051-0400 ColorFeed[1225:24949] No task request with identifier <decode: missing data> has been scheduled The command for debugger: e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"com.example.apple-samplecode.ColorFeed.refresh"] ColorFeed project: https://developer.apple.com/documentation/backgroundtasks/refreshing_and_maintaining_your_app_using_background_tasks
1
0
1.7k
Apr ’22
multiple background requests
In Efficiency awaits: Background tasks in SwiftUI, the isStormy() func has only one request. What if we have multiple requests. What's the best implementation?
Replies
1
Boosts
1
Views
1.3k
Activity
Jun ’22
dark mode for third party web content in WKWebView
Hi, what is the best way to handle dark mode for third party web content in WKWebView?
Replies
1
Boosts
0
Views
938
Activity
Jun ’22
Launch BGAppRefreshTaskRequest in simulator is not working
Hi, I tried to launch the BGAppRefreshTaskRequest from ColorFeed sample project on simulator. It is not working. Any idea why? Here is logging. 2022-03-16 09:59:18.133956-0400 ColorFeed[1225:23444] Simulating launch for task with identifier com.example.apple-samplecode.ColorFeed.refresh 2022-03-16 09:59:21.510051-0400 ColorFeed[1225:24949] No task request with identifier <decode: missing data> has been scheduled The command for debugger: e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"com.example.apple-samplecode.ColorFeed.refresh"] ColorFeed project: https://developer.apple.com/documentation/backgroundtasks/refreshing_and_maintaining_your_app_using_background_tasks
Replies
1
Boosts
0
Views
1.7k
Activity
Apr ’22
[SwiftUI] .onDelete not work with .swipeActions
I'm trying to have .onDelete for delete and .swipeActions for other actions. It is not working this way. Any idea? The thing is I try to have delete as part of .swipeActions. However, I can't find the way to set up the delete animation like the one .onDelete has.
Replies
0
Boosts
0
Views
693
Activity
Feb ’22