Quantcast
Viewing all articles
Browse latest Browse all 8068

network change listener not working in iOS simulator

I tested this piece of code on Android simulator and iOS simulator:

Ti.Network.addEventListener('change', function(e){
 
    alert(e);
 
});
It works ok in Android simulator, but in iOS simulator the listener is not triggered. Any ideas?

Thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles