Question: 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**

```swift
  @IBAction func Onclick(_ sender: Any) {
        AVCaptureDevice.requestAccess(for: AVMediaType.video) { response in
            if response {
                //access granted
            } else {

            }
        }
    }

```

**Current notification statement screen**

camera permission function
[![enter image description here](https://i.stack.imgur.com/K3rNf.png)](https://i.stack.imgur.com/K3rNf.png)

**my Info.list**

infolist

[![enter image description here](https://i.stack.imgur.com/jaFqQ.png)](https://i.stack.imgur.com/jaFqQ.png)

First of all, I'm sorry that I can't see the picture right away because my score is low.

Thank you in advance.

Answer: 
Unfortunately you can not customize the text of the buttons or the title of the alert. The only thing you can specify is the message that is displayed, you can set it in your `Info.plist` file under `NSLocationAlwaysAndWhenInUseUsageDescription`. As far as I know you actually have to provide this key starting with iOS 11, not only one or the other (when in use or always)

Also, see [this answer](https://stackoverflow.com/a/27646311/4553482) on how to properly request authorization.

See Apple's documentation [here](https://developer.apple.com/documentation/bundleresources/information_property_list/nslocationalwaysandwheninuseusagedescription)
You can't, system alert cannot be customizable (except for the message "I want access the camera") what you can do is show an alert to the user before or after.
You can't change the text of the buttons and the alert is showed only once to the user. If the user want to change his choice he needs to do it in the Settings app.