Home/2013/November

Adding Javascript processing capability to TWebBrowser in iOS

By |2014-10-19T14:32:06+10:30November 6, 2013 10:04 am|Code tips, Patches, Uncategorized|

UPDATE: If you're using Delphi XE7, the TWebBrowser component now includes the method EvaluateJavascript (does the same thing as what my GetJavaScript result does), and applies to both iOS and Android. In a post on the Embarcadero forums some time ago, Charles Vinal asked about whether it would be possible to have TWebBrowser implement the stringByEvaluatingJavaScriptFromString [...]

Plugging a couple of leaks in Firemonkey in Delphi XE5

By |2017-02-16T18:02:36+10:30November 4, 2013 1:33 pm|Patches, Uncategorized|

NOTE: If you have read this post before, it has been updated recently to include further changes that remove all leaks generated by the demo project. Recently there was a posting in the Embarcadero forums about problems with creating a secondary form, showing it modally, then destroying it; namely that the app exits without warning [...]

Making your iOS7 app run full screen on the device

By |2013-11-08T06:42:33+10:30November 1, 2013 3:50 pm|Project tweaks, Uncategorized|

Apple have made changes to the way hiding the status bar works in iOS 7. If you want your app to be full screen (i.e. minus the status bar), you'll need to create a customised .plist file, like I've described in this article: http://delphi.radsoft.com.au/2013/10/providing-background-services-support-to-your-ios-apps-with-delphi/ This time, you'll need to add the following to the customised [...]

Go to Top