Hi all
how I know choose user app permission?
I have save photo in album so need permission
how i know allowe or not ?
i try this but give only false
how I know choose user app permission?
I have save photo in album so need permission
how i know allowe or not ?
Dim p As Phone
Dim b As Bitmap
b.Initialize(File.DirDocuments , "main.png")',100,100,True)
p.AddImageToAlbum(b)
i try this but give only false
Dim As NativeObject
Dim staute As Int = s.Initialize("PHPhotoLibrary").RunMethod("authorizationStatus", Null).AsNumber
thankssssssssssssssssss#if OBJC
@import Photos;
-(void) objc_requestpermission
{
[PHPhotoLibrary requestAuthorization:^(PHAuthorizationStatus status)
{
[self.bi raiseUIEvent:nil event"objc_requestpermission_done:" params[@((int)status)]];
}];
}
#end if