IPhone - UIView orientation changes?

This is part of how Core Animation animates transitions. A snapshot of your view is taken, and then stretched/moved into the new location.

This is part of how Core Animation animates transitions. A snapshot of your view is taken, and then stretched/moved into the new location. There are a number of ways you can tackle this.

First of all you can try this: self. ContentMode = UIViewContentModeRedraw; This might be all you need and will tell Core Animation to redraw your contents instead of using a snapshot. If you still have issues, you can try defining a "stretchable" region that is stretched instead of your text.

For example, if you know you have a vertical slice of your view where there is never any text, you can define the content stretch to be in that little section and any stretching only occurs there, hopefully keeping your text intact. CGFloat stretchStartX = 25.0f; CGFloat stretchEndX = 30.0f; /* Content stretch values are from 0.0-1.0, as a percentage of the view bounds */ self. ContentStretch = CGRectMake(stretchStartX / self.bounds.size.

Width, 0.0f, stretchEndX / self.bounds.size. Width, 1.0f); This causes the your view to be stretched only between x values 25 and 30.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions