IKImageView, Buttons work intermittently in 10.5 but ok in 10.6

Posted by markhunte on Stack Overflow See other posts from Stack Overflow or by markhunte
Published on 2010-05-16T12:30:43Z Indexed on 2010/05/16 12:40 UTC
Read the original article Hit count: 272

Filed under:

Hi all, In IB,I have connected some buttons to a IKImageView. Using its received Action 'ZoomIn:', 'ZoomOut:','ZoomImageToActualSize:'

When I build for 10.6 I have no issues these work as expected. But in 10.5 (ppc), they sometimes work as expected and sometimes do not.

I have even tried it programatically. But I get the same results.

It is intermittent with each build after I have made some small change in IB that I need. But not changes that should affect how the view acts. The only buttons that seem to work through out are 'ZoomImageToFit' and the rotate ones.

When the do not work as expected, I see no change to the current image in the view, but when my app (/s, I have had this issue before in different apps) changes the image The view reflects the last request from a button.

So for example when it does not work. An image is displayed, I click the 'ZoomImageToActualSize:' button, nothing happens. I load a new image and it is displayed at Actual size.

Example when it does work. An image is displayed, I click the 'ZoomImageToActualSize:' button, It is displayed at Actual size.

By the way, I know I can reset the view default , before I load a new image.

Also if I run the 10.5 app in 10.6, it works ok, but as above I get intermittent results with the same build on multible 10.5 machines.

Does anyone know what is going on, is this a known bug?

Thanks for any help. MH

© Stack Overflow or respective owner

Related posts about ikimageview