Post not yet marked as solved
I have created one custom framework (MyFramework.framework), I am trying to set ASLR (PIE) flag for that framework. But when i use otool it does not show this flag. But PIE flag is shown for any other ipa. Is there way i can set the PIE flag for framework and check if it is applied using otool.
Post not yet marked as solved
I am using AVCapturePhoto to capture image. In didFinishProcessingPhoto i am getting image data using fileDataRepresentation. But when i convert this data to UIImage, it loses most of its metadata.
I need to draw bezier path on UIImage and still maintain metadata.
Is there any way to do this.
Post not yet marked as solved
I am using iPad pro11 front camera and device type is trueDepthCamera. Is there a way for a user to tap on the live view (AVCaptureDevice) and then focus at the tapped point.
Also i want to set custom exposure on the focus point.
So is there any way to change the focus as well as exposure to the tapped location for front camera for iPad 11 pro.
Post not yet marked as solved
Is there a way to change the fNumber for iPad Pro 11 front camera programmatically. I am using builtInTrueDepthCamera for front camera.
Post not yet marked as solved
I am trying to connect iPhone 7 as an external device to iPad Pro 11 2020 using lightning to typeC cable. My aim is to transfer photos from iPhone 7 to iPad Pro 11. But i want to view iPhone 7 as an external device so i can view all the photos from it.
If any USB is connected to iPad 11, i am able to get all the folders inside it using UIDocumentPicker. But when i connect iPhone 7 then i have to manually import photos from Photos app.
Is there a way to connect iPhone 7 as an USB or an external device to iPad11Pro?
Post not yet marked as solved
We trying to capture image RAW format and and save image data in JPEG format(resolution of 1080*1920), but facing issues regarding this image conversion. As per Apple developer documentation RAW image is captured in maximum possible resolution without performing any operations.
To retrieve the RAW image, isRawPhoto check is added in function.
photoOutput(_:didFinishProcessingPhoto:error:)
But there is no option to set the resolution of the raw photo while capturing the RAW image. While configuring camera session we can set sessionPreset as per our need. But to capture raw image we have to set it to .photo (which captures high photo output). We also tried to capture raw photo in sessionPreset resolution of 1080*1920, but we made changes to capture raw photo so this change will not be applied while photo capture.
Post not yet marked as solved
Is there a way to transfer photo from iPhone to iPad using lightning - Type C cable? I want to connect iPhone as an external device or USB device and show all the image folder like when USB is connected to iPad.
I was able to do this with USB storage but not with any other iOS device like iPhone.
Is there any way to do this ?
Post not yet marked as solved
Unable to edit camera settings using AVCaptureDeviceWant to edit camera settings before photo capture using iPhone camera, I had used AVCaptureDevice class to edit camera setting, but new settings had not applied to camera and photo taken with random camera settings value. Why this camera setting values not changing, final image produced with some random values? Find Framework and functions used for the same.Is Apple dont allow to configure camera settings with custom values? I had checked apples sample app called AVCamValue which also give same result. For eg if we set ISO value 100, it takes 50 as input, and produce image with random value 80.Framework - AVFoundationstatic var myDevice:AVCaptureDevice! = nil static func ISOValueChanged() { do { if ((try myDevice?.lockForConfiguration()) != nil) { myDevice?.setExposureModeCustom(duration: AVCaptureDevice.currentExposureDuration, iso: 100, completionHandler: nil) myDevice?.unlockForConfiguration() } }catch{} }