ios demo to check net