added clip mode for ios

thanks Andrew Royce for the line to fix the clip mode change in 3.4