I'm trying to invoke keyboard for typing on a UITextField. This is how I add the UITextField:
@implementation SOViewController{
GMSMapView *mapView_;
}
- (void)viewDidLoad
{
self.view = mapView_;
UITextField *tf = [[UITextField alloc] initWithFrame:CGRectMake(20, 20, 190, 200)];
[tf setText:@"test"];
[self.view addSubview:tf];
}
Is it because of the mapview properties? Is there an alternative for this?