# Accelerometer & local table issues in iOS

**URL:** https://community.thunkable.com/t/accelerometer-local-table-issues-in-ios/3720348
**Category:** Questions about Thunkable X
**Tags:** beginner, accelerometer
**Created:** [April 7, 2025, 3:33am UTC](https://community.thunkable.com/t/accelerometer-local-table-issues-in-ios/3720348 "2025-04-07T03:33:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![iamadamlongbqexdv](https://avatars.discourse-cdn.com/v4/letter/i/7c8e57/32.png) [@iamadamlongbqexdv](https://community.thunkable.com/u/iamadamlongbqexdv)
#### Post date: [April 7, 2025, 3:33am UTC](https://community.thunkable.com/t/accelerometer-local-table-issues-in-ios/3720348/1 "2025-04-07T03:33:35Z")

</div>

Project Link: [Thunkable](https://x.thunkable.com/copy/a586c91758897f7f30f830a13f602fcb)

I am running into an issue with my app on iOS when I have the accelerometer enabled. This is a simple game to help users pick a movie to watch - on iOS I wanted to enable the accelerometer so that users could shake their phone to “shake” the movie bowl and get a result instead of clicking the “Shake the Bowl” button.

I’m running into two problems:

1. On the Start Screen the acclerometer only works when the error screen is triggered - it never sends users to the results screen.

2. On the Entry Screen if you use the accelerometer to “Shake the Bowl” it produces results just like I clicked the button instead of shaking the phone. However it seems to add a seemingly infinite number of rows to the local table which ruins the movie selection process for all future turns by leading to blank results.

I have a copy of the app with the accelerometer disabled and it works perfectly. Help!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [July 6, 2025, 3:34am UTC](https://community.thunkable.com/t/accelerometer-local-table-issues-in-ios/3720348/2 "2025-07-06T03:34:18Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
