I have a text view and I need to add image in text view.The text view idea can be assume as text and image and after image text and so on.I can add image on text view but my problem is when I again edit my text view ,the text go behind the image.What I want is suppose if the image is below my cursor position and I am editing the text so my image should also be shift front or back.Please help me how can I achieve the functionality of shifting image on editing text.My app deployment target is 5.0 so we can include the new features provided in ios 5.0.
In the image it is shown how on editing the text the text go behind the image view.That is why I need to shift my image view.

Please Please help me.I am stuck here.
Thanks in advance.
Dude Use my code…
Let Me know. If you find any Difficulty…
Edited
*Additional….*
Hope,this will help you…Enjoy…