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

c# - Move local mssql database to webhosted MYSQL -

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -