Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

I'm a Mac

macrumors 6502
Original poster
Nov 5, 2007
436
0
My app is a tab bar app so on top of the tab bar it loads a webView (successfuly) however, for some reason, the keyboard won't pop up when there is a text field. I tried making the same app without the tab bar and the keyboard did pop up, however.

Code:
@implementation FirstViewController


- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
	if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
	
	}
	return self;
}

- (void)viewDidLoad {
	webView.userInteractionEnabled = true;
	[webView loadRequest:[[NSURLRequest alloc] initWithURL:[[NSURL alloc] initWithString:@"http://www.mywebsite.com"]]];
}


-(BOOL)shouldAutorotateToInterfaceOrientation: 
(UIInterfaceOrientation)interfaceOrientation 
{ 
	return YES; 
} 



- (void)didReceiveMemoryWarning {
	[super didReceiveMemoryWarning]; 
}


- (void)dealloc {
	[super dealloc];
}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.