IPhone : In iPhone keyboard appears in the portrait mode rather than the landscape one. Any solution?

on Thursday, March 26, 2015

My keyboard appears in portrait mode when i rotate a single view to landscape.


-(void)viewWillAppear:(BOOL)animated { CGAffineTransform newTransform = CGAffineTransformMake(0.0,1.0,-1.0,0.0,0.0,0.0);

self.view.transform = newTransform;


}


0 comments:

Post a Comment