In my app i have a condition in which I have to initialize a image view in my class with the same tag as other image view. So can anyone tell me how to create an image view with tag of other image view? I wrote the code like this but not getting the result:
UIImageView *imageView2=[imageView viewWithTag:i];
Create your second image view with the tag of your first image view .