camera in avfoundation module working