Implement OSTypeToString and StringToOSType on iOS.