Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

how to get a fluid animation on rotation

$
0
0

Hi, I'm developing a simple application for the iphone using a portrait and a landscape mode. I'm using the listener on the view like this

Ti.Gesture.addEventListener('orientationchange', function(e) {
       self.orientation_change();
});
and then I change the background of the view and the buttons position with setBackgroundImage() and setHeight(). It works fine on android but on ios it makes at first the rotation animation with distortion and at the end changes the background and the buttons position in a really ugly effect( on a real device, in the simulator it does the opposite) How can you make the properties apply in the middle of the animation? I didn't find any simple solution on the forums thanks for any help

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>