objective c - Set order on displaying paths/images -
i have couple of arcs , rects in uiview, , uiimageview well. want have uiimageview in background. have ordered in ib image view behind labels , buttons.
first, need put image in image view, don't want in ib. i've tried code
uiimage *myimage = [uiimage imagenamed:@"image.png"]; uiimageview *myimageview = [[uiimageview alloc] initwithimage:@"myimage"]; but doesn't work. after working, can move paths in front of image view?
add image uiimageview :
uiimage *myimage = [uiimage imagenamed:@"image.png"]; uiimageview *myimageview = [[uiimageview alloc] initwithimage:myimage]; [self.view addsubview:myimageview];
Comments
Post a Comment