iOSのUIWebViewについて
UIWebViewでWebpageを表示しようとしているのですが
このときページの大きさが入らないので苦労してます。
[WebView object].scalesPageToFit = YES;
をつかえばいけるのはわかったのですが、ただ
HTMLが横長(1920*1080)なのです。
よって縦はすべて入りますが横が入りません。
横がはみ出ます。
この横がはみださないようにするにはどうしたらいいのでしょうか?
なおHTMLはこんなものです。
HTML
1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<meta name="viewport" content="width=device-width" /> 5</head> 6<body > 7<table width="1920" border="0" cellpadding="0" cellspacing="0"> 8 <!--DWLayoutTable--> 9 <tr> 10 <td width="1920" height="538" valign="top"><img src="bkg.png" width="1920" height="1080" border="0" usemap="#Map"></td> 11 <td width="1"> </td> 12 </tr> 13</table> 14<map name="Map"> 15 <area shape="rect" coords="528,478,768,720" href="http://????"> 16 <area shape="rect" coords="824,479,1070,720" href="http://????"> 17</map> 18</body> 19</html> 20
あなたの回答
tips
プレビュー