# App Crashing ios

**URL:** <https://community.thunkable.com/t/app-crashing-ios/64656>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [January 14, 2019, 10:46pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656 "2019-01-14T22:46:15Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pun](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pun](https://community.thunkable.com/u/Pun)\
**Post date:** [January 14, 2019, 10:46pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/1 "2019-01-14T22:46:15Z")

</div>

the whole screen crashes I’ve separated the blocks into 2 different screens and it continues to happen when i try live testing

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [January 14, 2019, 11:01pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/2 "2019-01-14T23:01:56Z")

</div>

Does it work on Android? If you need me to test it on Android I can, and give debug as to why it crashes.

First look at the blocks looks ok.

---

<div class="post-metadata">

**Author:** ![Pun](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pun](https://community.thunkable.com/u/Pun)\
**Post date:** [January 14, 2019, 11:31pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/3 "2019-01-14T23:31:29Z")

</div>

I don’t have an android device but it’d be much appreciated if you could test it for me  
How can i send you a link to my app

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [January 14, 2019, 11:39pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/4 "2019-01-14T23:39:20Z")

</div>

In X you have the SHARE button to get a link  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/8/a86c8983f40507b508d3716239bb871349d2aacd.png)

Generate the link and send it on to me, and I will test it.

---

<div class="post-metadata">

**Author:** ![Pun](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pun](https://community.thunkable.com/u/Pun)\
**Post date:** [January 14, 2019, 11:44pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/5 "2019-01-14T23:44:47Z")

</div>

Im having issues with right angle triangles and the right angles triangle angles page which is the first 2 buttons on the home screen

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [January 15, 2019, 1:14am UTC](https://community.thunkable.com/t/app-crashing-ios/64656/6 "2019-01-15T01:14:37Z")

</div>

Pun,

I have it loaded and not crashing. Can you tell me what to click to recreate your crash in iOS.

There are some UX things I can chat about later. Lets get things working as intended first.

---

<div class="post-metadata">

**Author:** ![Pun](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pun](https://community.thunkable.com/u/Pun)\
**Post date:** [January 15, 2019, 1:21am UTC](https://community.thunkable.com/t/app-crashing-ios/64656/7 "2019-01-15T01:21:45Z")

</div>

To create the crash click the primary trig ratio button fill it out and when you click submit is when it takes me to the thunkable screen where my previous projects are

---

<div class="post-metadata">

**Author:** ![Pun](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pun](https://community.thunkable.com/u/Pun)\
**Post date:** [January 15, 2019, 1:30am UTC](https://community.thunkable.com/t/app-crashing-ios/64656/8 "2019-01-15T01:30:07Z")

</div>

Can you tell me more about the UX things

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [January 15, 2019, 2:14pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/9 "2019-01-15T14:14:12Z")

</div>

I cannot get the app to crash, however it will not respond to submits. I took a look at the blocks and it looks like you a variety of different on Click block chunks. Best only to have one, and then use Procedures that can be called with if then and else. You can add **else if** with this button here. Create one clean unified simple logic to process the actions.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/5/e5cc89eb0bca88201cc06334ec2d6f2633052de5.png)

---

<div class="post-metadata">

**Author:** ![Pun](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pun](https://community.thunkable.com/u/Pun)\
**Post date:** [January 15, 2019, 2:15pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/10 "2019-01-15T14:15:53Z")

</div>

where are there procedure blocks?

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [January 15, 2019, 2:22pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/11 "2019-01-15T14:22:15Z")

</div>

The Function blocks can be used as procedures in X. You are using them.

At the end of the day I think the problem is the multiple button click event handlers you have. You should only have one. The logic you need is all else if,

Redesign a new single Submit button response.

Let me know if you need help. I will be checking this periodically over the next few hours.

---

<div class="post-metadata">

**Author:** ![Pun](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pun](https://community.thunkable.com/u/Pun)\
**Post date:** [January 15, 2019, 10:28pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/12 "2019-01-15T22:28:01Z")

</div>

Im now having issues with the step 3 and return value blocks it when it navigates to answer page step 1 and 2 show but not other 2

---

<div class="post-metadata">

**Author:** ![Pun](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@Pun](https://community.thunkable.com/u/Pun)\
**Post date:** [January 16, 2019, 4:41pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/13 "2019-01-16T16:41:35Z")

</div>

I’ve tried using functions but i’m still facing this issue

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [January 16, 2019, 10:08pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/14 "2019-01-16T22:08:04Z")

</div>

Now that looks soo much cleaner. Let me try it later tonight.

Good use of Functions.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:16pm UTC](https://community.thunkable.com/t/app-crashing-ios/64656/15 "2024-11-08T12:16:29Z")

</div>


