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
Post a Comment