Added conditional code to set the YARP network differently for iOS versus other systems.