omz / Pythonista-Issues

Issue tracker for Pythonista (iOS)
169 stars 14 forks source link

Feature: Widget Interaction #725

Open bnscde opened 10 months ago

bnscde commented 10 months ago

From IOS 17 and onwards, Apps can have multiple widgets, which are even interactable without opening the host app. The current pythonista implementation using the today widget therefore seems outdated. (Besides that, I can't even get the provided example widgets onto the home screen on my Iphone 15, although docs say its possible. Got this feature removed?)

It would be pretty neat if we would get a widget revamp in one of the coming updates, adding the ability to interact with the widget on specific locations (e.g. have multiple buttons) and to be able to have multiple different widgets running at the same time.

If anyone knows a workaround to get this functionality in the current version, maybe with objc_util, I would be glad if you could share it with me in the comments. Thanks a lot!

maygeisler commented 1 month ago

Hi, I also would love to see the widgets getting a revamp because as far as i can see it the “today’s view” old style of widgets seems to be deprecated and removed in iOS > 13. The new widget system lays the foundation for many new and great features like you can see with the apps scriptable and chary. Maybe even a ui builder port?

rihak commented 1 month ago

Hi, I’ve noticed that with iOS 18, widgets seem to be completely unusable. For example, when trying to add a widget, "Pythonista" no longer appears as an available option, making it impossible to access existing projects without opening the Pythonista app. I used this feature daily, and it was extremely convenient for my workflow. Could you please confirm if and when this issue will be addressed? A fix would be incredibly useful for those of us who relied on this functionality.