title: iphone - problem with background image of uitextview
body: <p>I'm trying to add a back ground image to UITextView. The image is just a small border which will be placed at the top of text view. (the image resembles teared paper image). I'm using following code</p>
  
  <pre><code>  UIImageView *imgView = [[UIImageView alloc]initWithFrame: CGRectMake(0, 0, 320, 13)];
    imgView.image = [UIImage imageNamed: @"teared_paper.png"];
    [tView addSubview: imgView];
    [tView sendSubviewToBack: imgView];   
    [imgView release];
  </code></pre>
  
  <p>My text view's height is 150 pixels only. (text view occupies only small portion of view and it is at the top of the view so that it will appear to the user when keyboard is there)</p>
  
  <p>The problem is that, when I add more lines of text, text view is scrolling automatically. And at the same time, the background image that I added is also scrolling. How can I prevent the background image to stay on the top all the time irrespective of scrolling.</p>