New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way i can send key events to ios device #4479
Comments
only in simulator: Runtime runtime = Runtime.getRuntime(); |
i want to send Home key on real iOS device |
I want too but as I understand there is no possibility to do it on real iOS device because of xcode limitation. UIATarget class has only small list of methods listen below: |
Given that you cannot automate another app, why do you want to press the |
With Android I can press Home button and send application to the background or start another application. I need it to test notification messages that my application send when it appear in background. |
But you cannot do that in iOS. Android allows you to open multiple apps and automate them. iOS does not. Unfortunately. |
It's not true. In iOS-7 you can open notification window and press calc button. After that my application go to the background and calculator we'll be in foreground. And I can receive notification message from my application. If you want to see how I do that look in code bellow.
But unfortunately it's work only with iOS-7. In iOS-8 notification window is not visible. |
Does not look like an issue. Unfortunately is a limitation by iOS |
imurchie commented on 4 Feb 2015But you cannot do that in iOS. Android allows you to open multiple apps and automate them. iOS does not. Unfortunately.-- |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I want to press the Home key in iOS by using the python script. Please let me know how to proceed
The text was updated successfully, but these errors were encountered: