I'm a beginner of iOS. We are currently developing it with swift. What I want is to change the wording of the request for permission. It doesn't suit me and I wish I could change this. When the 'Don't Allow' button is pressed in the notification, press the button again and do not request camera permission again. How can I request it?
ViewController.swift
@IBAction func Onclick(_ sender: Any) {
AVCaptureDevice.requestAccess(for: AVMediaType.video) { response in
if response {
//access granted
} else {
}
}
}
Current notification statement screen
my Info.list
infolist
First of all, I'm sorry that I can't see the picture right away because my score is low.
Thank you in advance.