Principles of great widgets

RSS for tag

Discuss the WWDC21 session Principles of great widgets.

View Session

Posts under wwdc21-10048 tag

4 Posts
Sort by:
Post not yet marked as solved
1 Replies
438 Views
I'm having this problem in my iPad 3. So, I want to download and install the beta profile from betaprofiles.com but I'm stuck in "checking your browser before accessing betaprofiles.com". I've also tried this in different browsers. But it is same. I've also tried to download the profile from beta.apple.com but I can't sign in. I always loading when I give correct apple id and password and pull me back. So, is there any way to download beta profile from betaprofiles.com ? Thank you.......
Posted
by
Post not yet marked as solved
0 Replies
254 Views
Hi there, I'm working on the development of iOS widgets and I'm looking to understand more about their limitations when it comes to controlling a product directly from the widget through a 3rd party app. My goal is to have a widget on the Today view and Homescreen that the user can use to control a digital product without entering the related App. I've seen some examples of widgets that do this in the Today view. But so far I haven't seen any in the Homescreen. Is this possible and what are the restrictions when it comes to building a widget? Thanks, Lewis.
Posted
by
Post not yet marked as solved
1 Replies
417 Views
Hi guys, I'm trying to build an app that functions similarly to tinder and i'm asking for some tips on that creation. I just need some brainstorm ideas of how to best create a dating swipe type app like tinder? Does anyone have any ideas on how tinder was created? How many view controllers, which is the best view controller to use/create? anything would be helpful!
Posted
by
Post not yet marked as solved
3 Replies
1.3k Views
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?
Posted
by