Post

Replies

Boosts

Views

Activity

SharePlay Developer Profile not working?
I have been testing my new SharePlay app for many weeks now just fine. Now with the unpleasant surprise that SharePlay is disabled in iOS 15 beta 6 and won't make the 15.0 release, I still want to continue testing my app, but I can't get the SharePlay Developer Profile to re-enabled SharePlay. I have iOS 15 beta 6 on both devices, the new SharePlay Developer Profile installed, and rebooted both devices, and isEligibleForGroupActivities is never true even when on a FaceTime call. So it appears that SharePlay is still disabled even with the profile installed on both devices. Has anyone gotten the new SharePlay Developer Profile to work as intended? Do we need a new Xcode version to get it working again? There hasn't been an Xcode 13 beta 6 released yet so that's the only thing I can think of that might be missing.
9
0
3.7k
Aug ’21
I need a dynamic list of widgets in my WidgetBundle for iPadOS 15
As has been discussed previously during iOS 14, the syntax of the WidgetBundleBuilder is such that it isn't possible to have any control logic. You can only list the widgets that you want to include. No if statements or other conditionals allowed. This is going to be a problem for supporting the new systemExtraLarge widget for my app in iPadOS 15. For configuration reasons, I have one widget for each size in my app currently: SmallWidget, MediumWidget, and LargeWidget. I can create an ExtraLargeWidget for iPadOS 15, but that causes a problem in iOS 14 because that widget can't be included and the WidgetBundle list is static. It seems that if you have multiple supportedFamilies (e.g. [.systemLarge, .systemExtraLarge]) in the widget, then the system works as expected and the extra large option just doesn't appear on iOS 14 or iPhone on iOS 15 but the rest do. However, for my case I can only specify one family per widget and when it doesn't exist on iOS 14, I have to set supportedFamilies = []. If I include this widget in my WidgetBundle then it seems to break the system and none of the widgets show up in the widget gallery on iOS 14 as if they aren't installed. So I need one of two things: A way to specify a dynamic list of widgets in my WidgetBundle using conditionals (e.g. if #available(iOS 15, *)) in order to not include my ExtraLarge widget on iOS 14. A way to include a widget with supportedFamilies = [] so that it just skips that widget from the bundle rather than not displaying the widgets in the gallery at all. As far as I can tell, neither of these is possible and therefore I cannot add the extra large widget in my app for iPadOS 15 without something drastic like dropping support for iOS 14, which isn't going to happen. Has anyone else hit this issue in iPadOS 15 yet? Is there a workaround for this issue I haven't thought of yet?
3
0
3.2k
Jun ’21