Border around UITextView is not showing up
<p>I am trying to add border around UITextView by using </p>

<pre><code> self.textView.layer.borderWidth = 1;

  self.textView.layer.borderColor = [[UIColor brownColor] CGColor];  
</code></pre>

<p>but it is not showing up. If anyone can help me with why it is not showing up. Eventhough i have added Quartz framework. But still is not showing up.</p>

<pre><code>#import "uitextviewViewController.h"
#import &lt;QuartzCore/QuartzCore.h&gt;


@implementation uitextviewViewController

@synthesize textView;
@synthesize navBar;


- (void)dealloc {

[navBar release];
    [textView release];

[super dealloc];
 }


- (void) viewDidLoad
{
   [super viewDidLoad];

  UIBarButtonItem * button = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone
                                                                         target:self
                                                                         action:@selector(done:)];
[[self navigationItem] setRightBarButtonItem:button];
[button release];

self.textView = [[[UITextView alloc] initWithFrame:self.view.frame] autorelease];

self.textView.textColor = [UIColor whiteColor];

self.textView.font = [UIFont fontWithName:@"Arial" size:15];

self.textView.delegate = self;

self.textView.backgroundColor = [UIColor brownColor];

self.textView.layer.borderWidth = 1;

self.textView.layer.borderColor = [[UIColor brownColor] CGColor];

self.textView.textAlignment =  UITextAlignmentCenter;

self.textView.text = @"This is UITextView\n\nThis is UITextView\n\nThis is UITextView\n\nThis is UITextView\n\nThis is UITextView."; 

self.textView.scrollEnabled = YES;
[self.view addSubview: self.textView]; 

}
</code></pre>

<p>I will appreciate help.</p>

<p>Thanks in advance.</p>
