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 system version of the Mac OS X operating system that is used by Safari , Dashboard, Mail, and many other OS X applications.

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

In Safari , we have the most accurate preview results for mobile iPhone sites. therefore, I would like to embed WebKit (which is used by Safari) in my application, so my clients can have reliable browsing of their mobile websites.

I searched on the Internet but could not find working code. (The best I could find was this , but it does not work).


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

  • It does not support D5
  • I can overcome the fact that there is no D5 support (creating a component with D7 in a separate process or DLL) But, it is very unstable ! I tested it with D7: random access violations.
  • It does not render HTML pages with div / HTML5 layout in the same way as Safari (or electricplum - "Electric mobile simulator").
+7
source share
2 answers

Take a look at DelphiChromiumEmbedded . It is not Safari, but it is Webkit based at least ...

+7
source

The reliability of this will not be very good. In a corporate environment, you can simply put your mac on the network using the iPad / iPhone simulator from xcode and script to open your site and take screenshots.

Or even write an iOS program to open a website view on your website and just put your iPad on the web.

And look at this question and answer

You might want to consider how much work the delphi website will compare to buying a Mac. The update cycle will be painful no matter which route you take, but the quality will be much better with a Mac / iPad.

+3
source

All Articles