objective c - How to set initial location for image (iphone) -



objective c - How to set initial location for image (iphone) -

i have uiimageview along uiscrollview. both setup correctly , working fine. however, when view loaded, puts pixel location (0,0) starting point (i.e. view top left of image).. how set such on viewdidload starts @ pixel location (1000,1000) of image? not care happens after user scrolls or zooms in/out

much obliged.

[uiscrollview setcontentoffset:cgpointmake(1000.0, 1000.0)];

iphone objective-c uiscrollview uiimageview uiimage

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -