Added switchCamera method in iOS to switch between back and front camera.