iOS: added code to read network info