I am using the line to change my view orientation, it works.
self.view.transform = CGAffineTransformMakeRotation(rotation);
However, my keyboard still remain the same way it does, not following my view rotation. My question is, how do I change my keyboard orientation together, like after the line? My interface is only support Portrait, I just want to do it programmatically. Thanks.
P/S: Deployment target 6.1