i want ask if there way print multiple images in viewcontroller
because have tried several methods , seems print once.
i have created loop loop 3 times in controller class, have no idea how change position:
int j=3; for(i=0; i<j; i++){ nsstring *path = [[nsbundle mainbundle] pathforresource:@"image" oftype:@"jpg"]; nsimage *img= [[[nsimage alloc] initwithcontentsoffile:path]]; [imgview setimage: img]; }
when executes, prints image 3 times, don't know how change position each time loops.
i tried using nsrect
creates copy of image, when change origin, moves position inside original image dimensions, not outside. heres image of problem:
i want them 2 images separately not inside image.
any pointers great, thanks.
Comments
Post a Comment