iOS Safari’s Pecularities

I’m reading through Apple’s Safari Web Content Guide. It contains some interesting information on how iOS’s Safari (and I presume all applications that use WebViews). For example:

JavaScript execution time is limited to 10 seconds for each top-level entry point.

If your script executes for more than 10 seconds, Safari on iOS stops executing the script at a random place in your code, so unintended consequences may result.

This limit is imposed because JavaScript execution may cause the main thread to block, so when scripts are running, the user is not able to interact with the webpage.

Good to know.

The @viewport Rule

Trent Walton wrote about fixing the Windows Phone 8’s viewport setting because its browser ignores the <meta name="viewport" … tag. Here’s what it looks like:


Porting ≠ Creating

Via a tweet, RIM’s Alec Saunders claims 15,000 apps were migrated to operate in the BlackBerry 10 OS. The headline for Kristen Bent’s related story on CRN reads “RIM Receives 15,000 New Apps for BlackBerry 10 In Three Days.”

The rush of new apps resulted from RIM's "Port-a-Thon" events, which encouraged developers to take any applications not already compatible with BlackBerry 10 and "port" them over to the new platform…RIM confirmed this week that the final number of submitted apps came to 15,000.

That headline is a bit misleading: sure, these apps are new for BlackBerry 10, but they’re far from new as in created anew. Porting is one thing, but recycling doesn’t necessarily indicate a healthy app environment.

The Web & Flexibility

Great point by Trent Walton:

The sites we’ve built to display on a desktop, smartphone, or a tablet today could be on a TV Screen, coffee table display, or mega space yacht projection system tomorrow. Do yourself a favor and heed the advice of the Dao:

The web’s greatest strength, I believe, is often seen as a limitation, as a defect. It is the nature of the web to be flexible, and it should be our role as designers and developers to embrace this flexibility and produce pages which, by being flexible, are accessible to all.