Bingo! :)
I had already thought about inserting a short delay but I first wanted to know if I am using the close() method correctly.
Thank you!
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by chebfarid
-
RE: UI-View refuses to present()
-
UI-View refuses to present()
Strange problem with a simple view: when I try to present it I receive the error message "View is already being presented or animation is in progress"
Which is definitively not true:
in my project I'm using three UI-files which are loaded when needed and closed when their job is done, for example:v = ui.load_view('view2') spin = ui.ActivityIndicator() v.present('sheet') v.add_subview(spin) spin.start() ### several thousand loops which can last 15-30 secs ... spin.stop() v.close() ### another view to display the results (in html): browser = ui.load.view('view3') ### assembly of the html code ... browser.present('full_screen') # => ERROR message ...
As you see the animation was stopped and the view was closed, what am I missing?
Thanks for any hint! -
RE: Script to import any file in Pythonista from any app
@cvp Thanks a lot, I'll give it a try tonight.
-
RE: Script to import any file in Pythonista from any app
Thanks a lot for sharing this!
I'm still very new to Pythonista and importing a lot of scripts and ui files from the web to learn - your script is a life saver !