kobik
kobik

Reputation: 21232

Using WebKit (Safari compatible) in delphi to simulate iPhone mobile

Has anyone successfully used WebKit in Delphi?

WebKit is an open source web browser engine. WebKit is also the name of the Mac OS X system framework version of the engine that's used by Safari, Dashboard, Mail, and many other OS X applications.

I want to create an iPhone/iPad Mobile Simulator same as in electricplum. (I have tried the FREE version - seems like it also uses Adobe AIR).

With Safari browser we have the most accurate preview results for iPhone mobile sites. so I would like to embed the WebKit (that is used by Safari) in my application, so my customers can have a reliable preview of their mobile web sites.

I have searched the web, but could not find a working code. (The best I could find was this, but it's not working).


The 3 main problems with Delphi Chromium Embedded suggested in the answers are that:

Upvotes: 7

Views: 3790

Answers (2)

Stephan Eggermont
Stephan Eggermont

Reputation: 15907

The reliability of that is not going to be very good. In a corporate environment you might want to just put a mac on the network with the iPad/iPhone simulator from xcode, and script it to open your site and take screenshots.

Or even write a iOS program to open a webkit view with your site, and just put an iPad on the network.

And take a look at this question and answer

You might want to consider how much work a delphi webkit is going to be compared to just buying a mac. The upgrade cycle is going to be painful whatever route you take, but quality is going to be much better with the mac/iPad.

Upvotes: 3

Mason Wheeler
Mason Wheeler

Reputation: 84540

Have a look at DelphiChromiumEmbedded. It's not Safari, but it is Webkit based at least...

Upvotes: 7

Related Questions