Ive got a uiwebview in the detailview of a split-view ipad app, which loads a local html-file.
Problem is, the darn thing wont scroll the html-file properly. It's like there was a rubberband attached to the top, actively pulling the page up again when reaching the bottom.
This is the header of my html-files:
Pretty standard, and works fine on iphone with the exception that "minimum-scale=0.1" is then set to "1.0".
My current solution is to add a lot of "<br/>" to the end of each html-file, but that's just ugly.
Any ideas?
Problem is, the darn thing wont scroll the html-file properly. It's like there was a rubberband attached to the top, actively pulling the page up again when reaching the bottom.
This is the header of my html-files:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>GALLERY</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=0.1, maximum-scale=1.6">
<meta name="apple-mobile-web-app-capable" content="YES">
<link rel="stylesheet" href="main.css">
</head>
<body>
.. do stuff
</body>
</html>
Pretty standard, and works fine on iphone with the exception that "minimum-scale=0.1" is then set to "1.0".
My current solution is to add a lot of "<br/>" to the end of each html-file, but that's just ugly.
Any ideas?