Goal
I am building an iPhone app for a user who has explicitly authorized it. A third-party app on the same device shows a list item with a "Details" button. The content I need is only displayed after that button is pressed. I want my app, in the user's own session and with their consent, to press that button so the detail screen appears.
Constraints
Stock iOS 26 or later, no jailbreak, no Mac or other computer attached during daily use, App Store distribution.
What I have looked at
- XCUITest and WebDriverAgent need a host computer.
- Switch Control, Voice Control, and AssistiveTouch appear to be user-enabled system features. I could not find a public API that lets a third-party app trigger them.
- Shortcuts has no action that taps inside another app.
- App Intents works only when the other app exposes its own intents.
Questions
- Is there any public, App Store-compatible API on iOS that lets an app, with user authorization, press a button inside another app?
- If not, is that an intentional platform boundary?
- Is there any other supported technical architecture for this use case, other than relying on the other app's own App Intents?
Thank you.
Thanks for laying out your constraints and what you've already tried. iOS has no API that lets an app tap a button in another app, or operate another app's user interface in any other way. The person's authorization doesn't change that. The Security of runtime process in iOS, iPadOS, and visionOS section of Apple Platform Security says: "If a third-party app needs to access information other than its own, it does so only by using services explicitly provided by iOS, iPadOS, and visionOS." I can't comment on why iOS works this way.
In iOS 27 and later, ScreenCaptureKit lets your app capture what's onscreen after the person taps the button. It can't tap the button for them. The Capturing screen content on iOS sample presents the system content-sharing picker "to let a person choose between capturing the entire display or content from within the sample." It declares "screen-capture in UIBackgroundModes, so the stream survives backgrounding for full-display capture." With that configuration, the person can start a capture of the entire display in your app, switch to the other app, and tap Details. The capture covers the whole display, not only the other app.
To operate the other app itself, your app depends on what that app provides, such as App Intents, a custom URL scheme, or universal links.
Please file an enhancement request using Feedback Assistant so that your request can be seen by the appropriate decision makers. Describe the task your app needs to perform in the other app and how the person authorizes it. If you file the request, please post the Feedback number here so we can make sure it gets routed to the right team.
Please note that filing an enhancement request does not guarantee Apple will add any requested functionality to Apple products in the future. However, with that said, filing an enhancement request is a good way to get your ideas in front of the folks who make decisions about that sort of thing.
If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?