# iOS apps not registering Touch events

**URL:** <https://discourse.libcinder.org/t/ios-apps-not-registering-touch-events/300>\
**Category:** Using Cinder\
**Created:** [October 3, 2016, 3:37pm UTC](https://discourse.libcinder.org/t/ios-apps-not-registering-touch-events/300 "2016-10-03T15:37:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![navadria](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/navadria/32/90_2.png) [@navadria](https://discourse.libcinder.org/u/navadria)\
**Post date:** [October 3, 2016, 3:37pm UTC](https://discourse.libcinder.org/t/ios-apps-not-registering-touch-events/300/1 "2016-10-03T15:37:41Z")

</div>

This is quite confusing and I’m not sure if it happened to anyone else or if there’s something wrong with my setup.

_(edited)_ Some iOS don’t seem to register any touch events through the `mouseDown`, `mouseDrag`, etc. callbacks, although they do if you call `getWindow()->getSignalTouchesBegan()`.

This includes the _BasicApp_ sample and any app I create with Tinderbox. Other samples, like _ArcballDemo_ work correctly, though. But I can’t find any difference between their project settings.

I’m running iOS 10 with Xcode 8.0 and I tried:

- both device and simulator, debug and release
- both cinder\_master and pre-compiled Cinder v0.9.0

Same results in every case. I’d appreciate it if someone else can try with their setup, since I’m not sure what to do to debug this.

---

<div class="post-metadata">

**Author:** ![paul.houx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/paul.houx/32/31_2.png) [@paul.houx](https://discourse.libcinder.org/u/paul.houx)\
**Post date:** [October 3, 2016, 5:54pm UTC](https://discourse.libcinder.org/t/ios-apps-not-registering-touch-events/300/2 "2016-10-03T17:54:37Z")

</div>

Did you call `enableMultiTouch()` ?

---

<div class="post-metadata">

**Author:** ![navadria](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/navadria/32/90_2.png) [@navadria](https://discourse.libcinder.org/u/navadria)\
**Post date:** [October 3, 2016, 7:22pm UTC](https://discourse.libcinder.org/t/ios-apps-not-registering-touch-events/300/3 "2016-10-03T19:22:27Z")

</div>

Thanks Paul, I thought I was… but then I realized the settings function wasn’t being called.

You actually need to disable multitouch in order to use the mouse signal. Wasn’t that the default state before though? Right now BasicApp does nothing on iOS if you don’t add this at the end:

```auto
CINDER_APP( BasicApp, RendererGl, [] ( App::Settings *settings ) {
    settings->setMultiTouchEnabled( false );
}

```

---

<div class="post-metadata">

**Author:** ![paul.houx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/paul.houx/32/31_2.png) [@paul.houx](https://discourse.libcinder.org/u/paul.houx)\
**Post date:** [October 3, 2016, 10:12pm UTC](https://discourse.libcinder.org/t/ios-apps-not-registering-touch-events/300/4 "2016-10-03T22:12:39Z")

</div>

I assume this is intentional, as iOS more often than not is running on a touch-enabled device.
