Pregunta

IM UTILIZANDO A LAS ANIMACIONES DE UIVIA PARA MIRAR / ABAJO UNA VISTA (usando AUTOLAYOUT).
La animación funciona en el simulador, pero no está en el dispositivo real.¿Cual podría ser el problema?Código para hacer la animación está aquí

[self layoutIfNeeded];
[UIView animateWithDuration:.5 animations:^{
            self.animationConstraint.constant = -190;
            [self bringSubviewToFront:self.containerView];
            [self.containerView layoutIfNeeded];
        }];

He comprobado el uso de la memoria, pero no cruza más del 2% en el momento de hacer las animaciones.

¿Fue útil?

Solución

¿Es el dispositivo simulador similar al mismo que el dispositivo real en lo que respecta al iOS and display size?

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top