TTPhotoViewController thumbnails rotate but images don't

Posted by Koray Balci on Stack Overflow See other posts from Stack Overflow or by Koray Balci
Published on 2010-03-16T15:12:43Z Indexed on 2010/03/17 6:41 UTC
Read the original article Hit count: 275

I have PhotoTest1Controller very similiar to the one in Three20 samples. I implemented necessary shouldRotate methods in necessary places in UITabBarController and UINavController derived classes as well as the table that contains PhotoTest1Controller.

A funny thing is happening, when in thumbnail mode, the view rotates properly, but when showing a picture it does not respond to rotation. Moreover, If I rotate in thumbnail view and then switch to single image view in that rotation, I find that the image is properly rotated in the background. It only ignores rotation when it is the topmost view!

So, my understanding is that shouldRotate events are properly propagated, but for some reason single image view does not rotate when in top view, unlike the example code which is %98 equal to my code...

© Stack Overflow or respective owner

Related posts about three20

Related posts about ttphotoviewcontroller