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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -