The Blocks "Open or CloseScreenAnimation" not works in iOS

These blocks on runtime return a fatal error: