Privacy

    iOS pasteboard and clipboard privacy: what to know

    A 2026 view of iOS showing the clipboard-read banner when an app reads the pasteboard, alongside a system paste control that grants one-time access on user tap

    Since iOS started showing a banner whenever an app reads the clipboard, a lot of apps were caught quietly doing it on launch. The pasteboard often holds exactly the kind of thing a user did not mean to share, a copied password, an address, a one-time code, so reading it without a reason is a privacy problem, and now a visible one. Apple has added ways to use the clipboard respectfully: check what is there without reading it, and let the user grant access by tapping a paste control. Here is the risk and how to handle the pasteboard well.

    Short answer

    On iOS, reading the general pasteboard can capture sensitive data the user copied for another purpose, and since iOS 14 the system shows a banner when an app reads it, exposing apps that did so silently. Per Apple's UIPasteboard documentation, you should only read the clipboard in response to an explicit user action, and you can use pattern detection to check what type of content is present without reading the actual value, or a system paste control that grants one-time access without triggering the banner. Treat the pasteboard as shared, sensitive space: do not auto-read it, and do not put sensitive data on the general pasteboard without care.

    What you should know

    • The clipboard can hold sensitive data: passwords, codes, addresses.
    • iOS shows a read banner: since iOS 14, reads are visible to the user.
    • Do not auto-read on launch: read only on explicit user action.
    • Check type without reading: pattern detection avoids reading the value.
    • A paste control grants access cleanly: one-time access without the banner.

    What changed with the clipboard banner?

    iOS made pasteboard reads visible, which exposed silent access. Starting in iOS 14, when an app reads the general pasteboard, the system briefly shows a banner telling the user the app pasted from another app, so behavior that used to be invisible, an app reading the clipboard the moment it opened, became obvious. That surfaced how common silent clipboard reading was, and many apps changed their behavior in response. The banner is not a punishment so much as transparency: it tells users when their copied content is being accessed. For developers, it means any unnecessary pasteboard read now carries a visible privacy signal, so reading the clipboard without a clear, user-initiated reason looks exactly like the snooping the banner was designed to reveal.

    What is the privacy risk?

    Both reading and writing the pasteboard can leak data. The table breaks it down.

    ActionRisk
    Reading the pasteboard on launchCaptures unrelated sensitive content the user copied
    Reading without user intentLooks like snooping and triggers the banner
    Writing sensitive data to the general pasteboardOther apps can read it
    Leaving sensitive copied data unmarkedIt persists and may sync across devices

    On the read side, accessing the clipboard when the user did not ask exposes whatever they last copied, which is often sensitive and unrelated to your app. On the write side, placing sensitive data such as a password or token on the general pasteboard makes it readable by other apps, and on supported setups it can even sync to other devices. So the pasteboard is shared space in both directions, and treating it as private is the mistake.

    How do you use the pasteboard respectfully?

    Read only on intent, check before reading, and be careful what you write. Do not read the pasteboard automatically; read it only when the user explicitly acts, such as tapping a paste button, so access matches expectation. When you only need to know whether the clipboard contains a certain kind of content, like a URL or a number, use pattern detection to check the type without reading the actual value, which avoids both the privacy exposure and the banner. For paste interactions, a system paste control lets the user grant one-time access by tapping it, without the read banner, because the tap is the consent. On the write side, avoid putting sensitive data on the general pasteboard, and where you must place something transient, prefer options that limit its lifetime or scope. The rule is that clipboard access should always trace back to a user action.

    What to watch out for

    The first trap is reading the pasteboard on launch or in the background, which captures unrelated sensitive content and shows the banner, making your app look like it is snooping. The second is writing a password, token, or other secret to the general pasteboard, where other apps can read it. The third is checking content type by reading the value when pattern detection would avoid touching it. A pre-submission scan such as PTKD.com (https://ptkd.com) reads the compiled IPA against OWASP MASVS and surfaces how your app handles sensitive data, which complements reviewing your pasteboard usage for privacy. The pasteboard behavior itself you adjust in the app, tying reads to user intent.

    What to take away

    • Reading the iOS pasteboard can capture sensitive data the user copied elsewhere, and since iOS 14 the system shows a banner that exposes silent reads.
    • Read the clipboard only in response to an explicit user action, never automatically on launch or in the background.
    • Use pattern detection to check content type without reading the value, and a system paste control to grant one-time access without the banner.
    • Avoid writing sensitive data to the general pasteboard, and use a pre-submission scan such as PTKD.com to review how your app handles sensitive data.
    • #ios
    • #pasteboard
    • #clipboard
    • #uipasteboard
    • #privacy
    • #user-intent
    • #app-privacy

    Frequently asked questions

    Why does iOS show a banner when my app reads the clipboard?
    Because since iOS 14 the system makes pasteboard reads visible for transparency. When an app reads the general pasteboard, iOS briefly tells the user the app pasted from another app, so behavior that used to be invisible, like reading the clipboard on launch, is now obvious. It is not a punishment but a privacy signal, and it means any unnecessary read looks like the snooping the banner was designed to reveal.
    Is reading the iOS clipboard a privacy risk?
    Yes, when done without user intent. The pasteboard often holds sensitive content the user copied for another purpose, such as a password, address, or one-time code, so reading it when the user did not ask exposes data unrelated to your app. Reading on launch or in the background is the problem; reading in response to an explicit paste action is expected. Treat the clipboard as shared, sensitive space rather than private to your app.
    How do I check the clipboard without triggering the banner?
    Use pattern detection to check what type of content is present, like a URL or a number, without reading the actual value, which avoids both the privacy exposure and the read banner. For actual paste interactions, a system paste control lets the user grant one-time access by tapping it, with no banner, because the tap is the consent. So you can determine whether to offer a paste action without snooping on the content.
    Can I copy a password or token to the clipboard?
    Be careful. Placing sensitive data like a password or token on the general pasteboard makes it readable by other apps, and on supported setups it can sync to other devices, so the secret leaves your app's control. If you must put something transient on the clipboard, prefer options that limit its lifetime or scope, and avoid the general pasteboard for genuinely sensitive values. The pasteboard is shared space on the write side too, not just the read side.
    How should my app use the pasteboard?
    Tie all clipboard access to user intent. Do not read the pasteboard automatically; read only when the user explicitly acts, such as tapping paste. Use pattern detection to check content type without reading the value, and a system paste control to grant one-time access without the banner. Avoid writing sensitive data to the general pasteboard. A pre-submission scan such as PTKD.com can review how your app handles sensitive data alongside your pasteboard usage.

    Keep reading

    Scan your app in minutes

    Upload an APK, AAB, or IPA. PTKD returns an OWASP-aligned report with copy-paste fixes.

    Try PTKD free