I have a UIImageView called imgView which was added by
[self.view addSubview:imgView]; when I draw line in view's drawrect method, the line shows below imgView, but i want it shows on imgView. ps: i also tried
[self.view insertSubview:imgView atIndex:0]; which hides the imgView i.e I could see it on the view
[self.view addSubview:imgView]; and
[self.view sendSubviewToBack:imgView]; that also didn't work.
What could be wrong?