I'm setting [self.extensionContext setWidgetLargestAvailableDisplayMode:NCWidgetDisplayModeExpanded]
in viewDidLoad
and, as expected, I'm getting the "show more" button that toggles between compact and expanded widget mode.
When the widget starts, it's always in compact mode by default. How can I change that and make widget be in expanded mode when it starts?
Asked
Active
Viewed 591 times
3
-
I don't think that's possible, seems like it would be really annoying if every widget could do that. – EmilioPelaez Nov 21 '18 at 17:32
1 Answers
0
It is impossible.
A widget should not take over the screen by default. It defeats the purpose of a widget. You should make the content you want to display to user minimum and small (like a brief info), and user should be able to expand to view more details. This is how Widget works as intended.

GeneCode
- 7,545
- 8
- 50
- 85