This commit is contained in:
2020-08-07 07:56:46 +08:00
parent f9d0430c6a
commit 787dedb0ae
13 changed files with 803 additions and 784 deletions

View File

@@ -258,7 +258,7 @@ function TRPMyInfor:setEventDelegate()
local popList = go:GetComponent("UIPopupList")
if popList.value == "1" then
-- 相机
local permission = MyCamera.getImage(self:wrapFunc(self.onGetImage))
local permission = MyCamera.getImageFacing(self:wrapFunc(self.onGetImage), 256)
if permission ~= NativeCamera.Permission.Granted then
if permission == NativeCamera.Permission.ShouldAsk then
NativeCamera.RequestPermission()