Application crashes on iPad when I try to open camera?
Delphi iOS Native Components
Brought to you by:
b_yaghobi
In my application I am using TDPFUIImagePickerController to capture image through device camera, it's woking fine on iPhone and is crashing on iPad. I am unable to catch the reason. Can you please guide me through it? My code is given below:
procedure TImagePickerForm.DPFNavToolbarBarItems0Click(Sender: TObject);
begin
DPFUIImagePickerController1.EditingType := TDPFEditingType.etOriginalImage;
if not DPFUIImagePickerController1.TakeImageFromCamera then
ShowMessage( 'Not Support' );
end;