# Processing for iOS

**URL:** <https://discourse.processing.org/t/processing-for-ios/12798>\
**Category:** Coding Questions\
**Created:** [July 18, 2019, 7:26pm UTC](https://discourse.processing.org/t/processing-for-ios/12798 "2019-07-18T19:26:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddownn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ddownn/32/2731_2.png) [@ddownn](https://discourse.processing.org/u/ddownn)\
**Post date:** [July 18, 2019, 7:26pm UTC](https://discourse.processing.org/t/processing-for-ios/12798/1 "2019-07-18T19:26:00Z")

</div>

If anyone reading this has used the Processing for iOS app by Frederik Riedel and knows how to get a sketch to recognize the first screen tap as mousePressed, please let me know.

It seems like the first mousePressed never happens until the second screen touch.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [July 19, 2019, 8:23am UTC](https://discourse.processing.org/t/processing-for-ios/12798/2 "2019-07-19T08:23:02Z")

</div>

-a- can not help as i not have that iOS hardware/OS  
but it could help if you post code or a link to the app you talk about.  
-b- after run a processing sketch  
mouse and keyboard can only be detected if you activate the CANVAS window  
( like with a mouse click anywhere on the window )  
so it could be that that way only the second mouse click is detected as ?mouse over button? …

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [July 19, 2019, 8:29am UTC](https://discourse.processing.org/t/processing-for-ios/12798/3 "2019-07-19T08:29:03Z")

</div>

b

interesting. That’s true on Win. The sketch doesn’t get the focus on start up.

Very annoying since you have to click on it with the mouse before you can start typing.

Might be the case for iOS too

Might be a bug

---

<div class="post-metadata">

**Author:** ![ddownn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ddownn/32/2731_2.png) [@ddownn](https://discourse.processing.org/u/ddownn)\
**Post date:** [July 20, 2019, 12:00am UTC](https://discourse.processing.org/t/processing-for-ios/12798/4 "2019-07-20T00:00:08Z")

</div>

It’s in the App Store as `Processing iCompiler by Frogg GmbH.

I know it’s not supported. I just thought I’d see if anyone had tried it and found a solution.

On the Mac, after running a sketch, the first click gets recognized right away, so I guess I’ve been spoiled by that. Sorry to hear it doesn’t work so nicely on Windows!
