How to check camera permission in ios app?

I want to get Camera access in ios app but it not work.
I use this code but always return false.(I write this code Start() and Update())

#if UNITY_IOS m_IsPermitedCamera = Application.HasUserAuthorization(UserAuthorization.WebCam); Debug.Log(m_IsPermitedCamera); #endif

When I tap access the camera pop up OK , but return false.

The docs show a Request Auth: Unity - Scripting API: Application.RequestUserAuthorization

Have you got this line?
Application.RequestUserAuthorization(UserAuthorization.WebCam);