You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Built in camera hardware (cannot use simulator, must use iPhone)
Simulation mode
Option 1 requires using an actual iPhone to take a picture. Since the camera hardware cannot be simulated by the simulator, option 2 mocks the camera functionality. When using the simulator to add a picture, the function will return a stock image instead of opening the camera.
Use either of these modes to "take" pictures and then save those pictures to the main page. The algorithm is as follows:
Get picture from simulator mock or camera
Save picture
In the main page, picture slots should be ordered. The picture should be saved to the next available slot in order
If no slots are available, simply overwrite the first slot
A similar structure exists for the audio recordings. It is necessary to save the corresponding audio pair to the main page as well.
Note:
Do not allow user to save individual audio or images without the corresponding image audio pair. ie. user may not save only image or only audio
It is probably best to create some kind of simple data structure to track the state of the main page.
The text was updated successfully, but these errors were encountered:
ACs
There exits two modes for saving images:
Option 1 requires using an actual iPhone to take a picture. Since the camera hardware cannot be simulated by the simulator, option 2 mocks the camera functionality. When using the simulator to add a picture, the function will return a stock image instead of opening the camera.
Use either of these modes to "take" pictures and then save those pictures to the main page. The algorithm is as follows:
A similar structure exists for the audio recordings. It is necessary to save the corresponding audio pair to the main page as well.
Note:
It is probably best to create some kind of simple data structure to track the state of the main page.
The text was updated successfully, but these errors were encountered: