Hi Buddies,
I want to display the image in navigation bar instead of back button with action. So now i have used image view and displayed the image in the navigation bar. Now i want to write the actions for image view, when touch or click the image view. Is it possible to write a actions for image view?.
I am currently working in iPhone OS 4.0.
please see My previous quetion
Here my code is,
UIView *view1 = [[UIView alloc] initWithFrame:CGRectMake(0,5,40,40)];
[self.navigationController.navigationBar addSubview:view1];
view1.backgroundColor = [UIColor clearColor];
UIImage *img = [UIImage imageNamed:@"Back.png"];
UIImageView *imgView = [[UIImageView alloc] initWithImage:img];
[view1 addSubview:imgView];
How can i write the actions for image view.
So please help me out.
Thanks.