Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 12, 2010, 01:19 PM   #1
Danneman101
macrumors 6502
 
Join Date: Aug 2008
webbrowser in split-view (ipad) not scrolling properly

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:

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?
Danneman101 is offline   0 Reply With Quote
Old Aug 13, 2010, 05:44 AM   #2
Danneman101
Thread Starter
macrumors 6502
 
Join Date: Aug 2008
Weird, Ive been googling my ass off for a solution, but I havent even found one single report of the same issue by a developer.

Perhaps I should submit a bug-report?
Danneman101 is offline   0 Reply With Quote
Old Aug 13, 2010, 01:34 PM   #3
seepel
macrumors 6502
 
Join Date: Dec 2009
I've been putting web views in my detail views just fine. Are you sure that your setting the web view itself correctly? Maybe it is getting a strange frame, or its scroll view is wonky?
__________________
Free iOS App that turns your music library into an info graphic.
Phonographic
seepel is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Calendar split/agenda view back on 7.1? chestvrg iOS 7 18 Mar 21, 2014 06:46 PM
Split View App RagingGoat iPhone/iPad Programming 6 Jun 6, 2013 08:59 PM
Is scrolling enabled if a text view extends below the viewable portion of the window? moonman239 iPhone/iPad Programming 3 Mar 1, 2013 02:50 PM
Animating split view divider position Starfox Mac Programming 0 Dec 18, 2012 09:12 PM
Transparent WebBrowser heojeongho iPhone and iPod touch Apps 0 Sep 23, 2012 10:04 PM

Forum Jump

All times are GMT -5. The time now is 05:45 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC