How to create Button dynamically in -(void)touchesBegan() function call in iPad

Posted by chaitanya on Stack Overflow See other posts from Stack Overflow or by chaitanya
Published on 2010-05-18T16:25:05Z Indexed on 2010/05/18 16:31 UTC
Read the original article Hit count: 176

Filed under:

HI,

I am trying to create buttons and text views on touch events from WebView. I am creating the Button creation code in below code.

    -(void)touchesBegan: ( NSSet* )touches withEvent : (UIEvent ) event{

}

capturng of the touch events is happening properly and above fucntion is called also. But the button creation is not happening.

PLease suggest that what could be the issue with approach.

© Stack Overflow or respective owner

Related posts about ipad