/ Published in: iPhone
In viewDidLoad
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// make view appear in landscape orientation self.view.transform = CGAffineTransformIdentity; self.view.transform = CGAffineTransformMakeRotation((M_PI * (90) / 180.0)); self.view.bounds = CGRectMake(0.0, 20.0, 1024, 748);