Thanks Erel,
but I have B4I 2.0
I have a real device (IOS 7.2.1) connected to the internet
I have a compile error with #ATSEnabled: False (Attribute not supported: atsenabled)
It is worth updating to a newer version of B4i. Apple is moving fast and makes changes that are not always backwards compatible. Note that I'm not sure that the issue here is with ATS or not.