I have an app for which I need all photos to be taken rotated/horizontal. I am able to require that the device be turned, but am wondering if the orientation of the camera can remain the same after a picture is taken (it always reverts back to portrait when asking the user to choose to use or retake)? Ideally, that option would not be presented and the picture taken would just be returned to my app (as if they chose to use the photo and the selected event were fired). Thanks for any recommendations!
Trying to use MBS Plugins to simply capture photos from an iPhone - does anyone have an example for XOJO? Christian’s “scan document” example works almost exactly the way I’d like to allow a user to take photos in a series until done, but I don’t need to create a document but just capture the images quickly in succession for use later. I’m not able to apply the “still photos” techniques in iOS as Mobile Screens don’t appear to allow the layering needed. Maybe I am overcomplicating things? Thanks for any recommendations.
I continue to struggle to get a reference to the Mobile Screen when defining an NSScreenMBS or the view/subview of it. All calls return nil even with properties for both created for the Mobile Screen window. Has anyone else been able to translate the MacOS code to their iOS app?
I was able to resolve all the issues related to using Monkeybread Software’s AVFoundation plugins and capturing a still image from the camera in an iOS app.
Hello, @Bruce_Kline .
This may not be the place to ask this, but what did you use as a reference for AVFoundation to succeed?
I’m also struggling with taking photos with the iOS camera. Currently, I’m only implementing image import from the iOS photo app using Xojo’s standard ImagePicker. If you have any tips on importing images using the camera, I’d appreciate them.
Thank you.
Hi Kazuto,
My apologies for the delayed response - were you able to work through the issues? Let me know if you are still struggling and I’ll provide whatever I can to assist.
Bruce
Sorry for asking a question.
I was able to implement it simply by placing an ImagePicker and setting the source to camera. I think I used the same method before, but it didn’t work properly, but for now it’s solved.
Thank you.