hey i really need help with a touch event i want to change uiview when an imageview is pressed i have started a touchesbegan function but dont no wer to go from there the code i am using is below
im not even sure if this is the right way to go about it and i am new to this
any help is appreciated
Code:
-(void)touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event
{
UITouch *touch = [[event allTouches] anyObject];
if ([touch view] == buttonl) {
}
}
im not even sure if this is the right way to go about it and i am new to this
any help is appreciated