Please HELP! Gold Challenge (XIB problem)


I have to be doing something wrong here…

When I try to zoom in or zoom out in the scroll, the view moves really crazily until the image is not visible no longer, it just like flashes out from scrolling too much I guess…

It is not the code… since when I replace ImageViewController.xib from the downloadable solutions, it works perfectly… What can I be doing wrong when designing the XIB?

I’ve tried creating it again from scratch, and recreating the connections to the header file and I keep getting the same issue… and just replacing ImageViewController.xib fixes the problem…

Any clues? I’m really new to this and have no idea what it could be

PS. On my XIB when I create the scroll view and image view, in the object outline view there are some blue squares called “constraints” which I see don’t exist in the original one but I can’t seem to make them go away, I don’t know if this is one of the new features of xCode, or if this is what is making my application not work properly

Thanks in advanced


Then auto-layout feature is turned on in Xcode. Try turning it off.
See: viewtopic.php?f=174&t=4287&p=10258&hilit=auto+layout#p10258


Thank you very much!! That fixed my problem! xD