mobile-safari

Line artifacts in mobile Safari

Safari renders black lines in between divs on my website at some scales. It is particularly bad when it breaks apart an image that is chopped in two different divs for a button or something. I can't put a BG in the parent of the two divs because they are transparent .pngs. Any solution or just deal with it? ...

How to have my web application render using different stylesheet on mobile device browser?

Hi, I've got a Java web application running, when accessing via a mobile device (such as safari browser on an iPhone) the JSP page renders poorly. The device screen is not suitable for the page and therefore I'm looking for a way to get around this After some Googling, I've come across the following line that can be added to a JSP <li...

What is an effective way to deal with iphone orientation change while displaying an image

Disclaimer: I know the question of locking orientation has been asked, and solved. But that's only half my question. I'm building an iphone website for a small indie game developer. They want to be able to show off screenshots from some of their iphone games. This is somewhat of a problem though. All the screenshots are taken from the g...

The iPad applicationCache events can't update the screen

I have an html5 application that listens to all window.applicationCache events. When it needs to download, I write a pretty dialog to the screen, and during the progress event I calculate the percentage of files done by doing the right math on the event.loaded and event.total properties, in order to update the percentage with it. The re...

Margin: 0px auto didn't work in apple safari

I have a construction that works well in all browsers except iPhone Safari, it sticks to left side though it's not supposed to. .home{width: 980px; margin: 0px auto 0px auto;} any advice? ...

how does a mobile browser differ from web browser

There are a specific set of process happens between a user hits www.google.com and see the page in the browser. Can anybody tell me what all things that happen during a similar process. Also how mobile browser is different from web browser. ...

Techniques for profiling memory in Safari desktop and iOS?

Updated 10/21: Changed title and question in order to possibly get an answer (other than "no"). We're experiencing leaks in Safari (confirmed in Windows and Mac, suspected in iOS). Are there any Safari extensions that lets one profile JavaScript/DOM memory usage to discover potential leaks? Better yet, is there any tool that can be us...

A more efficient approach to attach components to panel and render them on screen

His, I am using UiBinder whenever possible to improve application performance when possible. However, as far as I understand, UiBinder is at its best when corresponding template contains losts of static information. In my case, mobile app, most of the screen areas contain dynamic information. For instance, there is a panel with butto...

How do you make UIWebView Look exactly like mobile safari when a page loads? (not super zommed in)

Hi guys , how do i make my uiwebview look exactly like safari when a page loaded , take for example this page http://www.240-voltz.com/ it does not load like safari where i can choose where to zoom in? cant upload images need 10 reps ! ...

iPhone Mobile Safari: Portion of content scales by it self.

Really, wondering and don't know why, on the initial load, the "<'p'>" element that holds content is scaled up, the fontsize, if i change orientation of the device it will then adjust scaling and keep it at declared font size that originally was intended, but that initial load. any ideas why? ...

Can you view websites with the iPhone's SDK?

I want to know before I start to install on my Mac. I'm trying to figure out some layout issues with Safari mobile 3.1.1. My other dumb question is...does changing the useragent on the desktop Safari, effect the way it renders CSS? I know that the browser is just telling you what browser it is in the request. ...

Detecting of scroll bar is visible in the UIWebView

I need to detect if the scroll bar is visible in the UIWebView, how do I do this? My first attempt was: int scrollHeight = [[webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.scrollHeight"] intValue]; if(scrollHeight > [webView frame].size.height) NSLog(@"Scrollbar is visible"); But the scrollHeight is alwa...

Webkit animations performance on IPad

Do webkit based transformations/animations affect JS performance on the IPad? Is there a separate graphics processor to handle the webkit stuff? Basically I am developing a program with some simple webkit animations, but a bunch of them, and I think I have to pull out the animations because its making the Ipad slow. ...