2.如果是为了固定显示网页的宽度在HTML的Header标签里加入:
<meta name="viewport" content="width=480; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
3.如果是想转屏幕到landscape模式的话在appDelegate的applicationDidFinishLaun
[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLa
再把相应的UIViewController的shouldAutorotateToInterf