Photocamera controller works properly in iOS