Vote UpVote

Getting TWebBrowser on iOS to zoom

The Hacker's Corner – There’s currently an issue with TWebBrowser in that it doesn’t allow for zooming. Luckily it’s fairly easy to fix. I suggest that you make a copy of FMX.WebBrowser.iOS.pas and put it in the same directory as your project. You then add it to your project. This way it will be picked up automagically. Now for the hardest part… Make the following change in FMX.WebBrowser.iOS.pas (your copy). constructor TiOSWebBrowserService.Create; begin FWebView := TUIWebView.Create; FWebView.setScalesPageToFit(true); // Add this line of code FDelegate := ...
Favorite? Off-Topic? Anders Ohlsson @ 2013-05-16 01:30


Visits: 803
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Primoz Gabrijelcic
The Delphi Disciple
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)