Post

Replies

Boosts

Views

Activity

Reply to getTimeline called twice on load
Not sure if I answer your question but I found out that getTimeline gets called for each widget size. If I have only small widget (one or two or more) getTimeline called once. If I have small widget and medium widget, getTimeline called twice. If I have small, medium, large widgets, getTimeline called three times. Took me couple of days to know this. It might be helpful to you.
Jul ’21
Reply to Cannot import EventKitUI. Error Could not build Objective-C module
OK. I found out that EventKitUI can not be used with widget. Took me a while to learn about this. More detail. In one of my file in my main app, I use EventKitUI. And I also check the widget target in the Target Membership of this file. When I remove the checkmark everything works fine. So, in my situation I have to create another swift file in the main app and move the EventKitUI part out of my main file and put it in the newly created file. Everything is working now. Thank you.
Jul ’21