Displaying menus on image
Posted
by
Snehal
on Stack Overflow
See other posts from Stack Overflow
or by Snehal
Published on 2010-12-31T09:43:06Z
Indexed on
2010/12/31
9:53 UTC
Read the original article
Hit count: 219
iphone
Hi all, Here is what i am doing: I have a viewcontroller screen1 to which I have added long press gesture. On longPress, user will get draw menu. On selecting that menu, i am creating another uiviewcontroller class object which has a rectangle image. This instance i am adding as a subview to screen1. Now what i want is that once the image is displayed on the screen1, i want to display UImenuItems Done and cancel above the image drawn so that on tapping on done menu, the image is saved. I tried making the new viewcontroller as firstResponder after adding image to screen1 but the menus are not visible. Any one please help
© Stack Overflow or respective owner