Move iOS specific helpers out of common