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.
iOS Animations [Turn all off]
-
@omz, you mentioned to me before about not being able to control the keyboard animation. I am but sure I thought you said something like you can turn all animations off. Sorry I could not find it here. But somehow last night all my animations were turned off. WOW. It was amazing. So responsive. Then in my infinite wisdom, I restarted my iPad. I was confident I could recreate it.
.But I couldn't figure out what did it. At first I thought It was a script from @JonB for testing the screen sizes, I ran that multiple times. Nothing. I ran every script in my open tabs, nothing. But I was also playing around with some image background removal apps I got from App Store. Some seemed to have funky interfaces.But if there is a way to disable all iOS animations using objc_utils that would be great to have a sample
When you are testing in Pythonista, all this animation crap just gets in the way and slows down the cycle.
I am assuming it can be done. The only other explanation is that some of the crappy software I download, was able to write over or corrupt a piece of memory it should not have been able to do.
But really this is a break through if just in a write/edit/run test cycle.
-
Do you have settings/general/accessibility/reduce motion set to on? That is the first thing I do on any new device!
-
@JonB , yes I have it on. Really, if you seen what I seen last night, it will blow your mind. Yes, I was a little drunk, but no more than usual. I am 100% sure I didn't imagine it. But we are not talking about a little speed up. It's instant. Sure it's a perception, it must be speed up by a multiple, whatever the small number it is.
Really, it's worth looking into. As I say when you are in the edit/run Blah blah cycle, these animations are just costing us time. -
@JonB , really, if this can happen it will make up for my whole year of stupid comments. As I say, unless it was a fluke of nature, I am sure it can be done. I can't stress enough the difference it makes. I spent at least 30 or 40 mins trying to recreate what I had done
-
Look I can't do it, but but maybe this stackoverflow link helps.
http://stackoverflow.com/questions/24740908/is-there-a-way-to-disable-all-animations-on-ios
-
Well, you can try this for fun:
from objc_util import * UIView.beginAnimations_(None) UIView.setAnimationDuration_(0)
-
I tried the above... what's it supposed to do? I can't tell...
-
It's supposed to disable animations in the app, but it's possible that it just worked by chance for me.
-
@omz , perfect.....It worked for me. I have put it in my pythonista_startup.py
But I think it's a perfect mode for Pythonista, especially when you are testing and just editing and running a lot. Ultimately will save a lot of time. My iPad Pro is fast, but this makes seem so much faster as you would expect. I would imagine it makes a bigger difference on old iPads.But a big thank you, it's great
Addition:
Because the keep board is up and down so fast it's not interrupting my selections like it was.
When looking for something in a file I often, hide the keyboard, too be sure I am in the right block of code. This is so much better like this. -
Also works on iPhone 6s. It feels a lot snappier. Even though I have Pythonista on my phone, I have never used it for other than testing. But when you are coding who needs animations with the programming interface.
Can also confirm, if you do a hard shutdown of Pythonista, on relaunch everything is back to original. That's why I have put mine in the pythonista_startup.py (1.6 only)