Configuring dual mode for iPhone