IOS 7

Hi,

Here go a new problem that I can't fix!

Try that, put a TIWIPhoneHeader and on the Scriptevents -> RightButtonClick put one alert 

Example:

alert("Hello World");


If the ios it's 7.X don't work, I click and nothing happens, ONLY FOR IOS 7 or later.
the same dll running on IOS 6.X or before, the alert it's displayed.

How can I fix that?


Hi,


I have not been able to reproduce this issue.
The alert is displayed as expected in iOS 7.

Can you please provide a ready to run sample project that demonstrates the issue so I can further investigate this?
Can you also let me know which version of Delphi and IntraWeb you are using?
Hi,

try this, call the url of dll on the Safari, then you click on the button on safari thats says ''ADD TO HOME SCREEN" now close the Safari and tap the new icon. He will display the web page without the browser. now click on the button, the alert isn't displayed.

Best Regards,

Vinicius Matos

My intraweb version is IW10,  TMS Iphone Control Pack version is  2.3.0.0 


Vinicius Matos

My delphi is Delphi 2010 


Vinicius Matos

I'm currently investigating this issue and will report back here as soon as possible.

Unfortunately this seems to be a general issue with iOS 7 where JavaScript alerts are not working when a web app is opened fullscreen from a home screen icon.
I'm not sure if this is a bug or if alerts are actually disabled.


You can find further information about this issue using the links below.
http://www.mobilexweb.com/blog/safari-ios7-html5-problems-apis-review

http://stackoverflow.com/questions/18903525/alert-and-confirm-no-working-with-apple-mobile-web-app-capable


Bart Holvoet2013-10-09 03:51:38

As a workaround you can set IWiPhoneStyle.FullScreen to false to open the web app in a browser window, where alerts are working as expected.

Apple has fixed this bug on IOS 7.0.3 

Thanks for informing!