Uploading multiple photos using iPhone Camera at once - ios

I am trying to implement a functionality where user can take multiple photos one by one on their iPhone device and upload all at once on to the server.
I was able to successfully do the multi selection of photos from gallery using ELCImagePickerController.
However I am unable to figure out, how I should do this using the iPhone camera.
Though, I am trying to do this using Xamarin.iOS the code snippet in Swift would also be fine as I can easily translate it in to C#. Thanks!

Related

Take photo in Appium on ios real device

I am struggling with taking ios photo. Is there any possibility to capture photo in iOS real device using Appium? I dont have access to shell and cannot send keys like on Android phone, I also have a problem with tapping on element related to capturing photography. It seems like it is not responding to any tapping/clicks. Is there any API/ way to automate capturing photos using real device camera in iOS?
Also I do not have a problem with picking photography from gallery or uploading it to the phone. I have a problem with clicking on a button responsible for taking photo.
I looked at the internet but most of the solutions are related to the Android phone (which I automated already).
Regards,
Toms

How can I transfer pictures into iOS Simulator?

I'm testing out a few things and want to do some screen grabs to show the difference depending on different pics but I can't easily get them on the device. I'm using React Native and I'm on a mac using Xcode.
You can simply drag the image into the simulator and it'll work.

Take pictures using iPad's camera with Selenium and Appium

I am automating iOS application in iPad using Selenium and Appium.
The application has one feature where it opens iPad's default camera application and user can take picture from it.
The requirement is to automate this procedure. i.e. Capture picture using iPad's default camera and use it in application.
Is there any way to automate this?
As far as I know, you can't directly take pictures from your iPad with Selenium/Appium, but there is a tool named AVFoundation that allows you to do so.
There is some documentation about taking pictures
The programming language that is used is Objective-C.
Hope you'll find what you are looking for.

How can I connect multiple iPhone screens to make a larger display?

I want to connect multiple iPhone/iPad display to have a larger display. This large display will be able to display a single photo or video in that screen. Mosaic app is doing so and is on the app store. They also provide SDK for the same. Here is the link for that SDK - http://www.mosaic.io/sdk. Can anyone help me out with this? Is there any SDK available which can fulfill my requirements.

Capture image using Camera with iOS and appium

I am automating a test where we need to launch camera app , and capture some images/videos. Those captured images/videos will be saved in media library.
Now Since
1. On real iOS device we can not automate camera app using appium, I thought to write and iOS app which will launch Camera , till this step it is fine, I could launch camera but the capture button not be clicked using appium.
Do we have any other way to launch a camera on iOS device using appium and capture some images ?
Part of Apples security model is the Sandbox. You can only play within your own sandbox. Since the camera app is it's own entity you will not have any control over it once it is launched and can not provide testing code to control it.
You will need to either write your own camera control module which you can then control to take pictures using your test tool or you can pre-populate the device with your required images.

Resources