ios - PaintCode button press in view using objective-c? -
so used paintcode make popup view. used 2 canvases it, main 1 popup , x close button. want able detect when x tapped can close view. paint code files class of type nsobject , using uiview class call function. x button implemented follows:
//// symbol drawing cgrect symbolrect = cgrectmake(194, 12, 17, 17); cgcontextsavegstate(context); cgcontextcliptorect(context, symbolrect); cgcontexttranslatectm(context, symbolrect.origin.x, symbolrect.origin.y); [pinview drawcanvas2withframe: cgrectmake(0, 0, symbolrect.size.width, symbolrect.size.height) resizing: pinviewresizingbehaviorstretch]; cgcontextrestoregstate(context);
thanks in advance.
Comments
Post a Comment