Ensure a string is returned from iOS getText