# Didusercancel block image picker

**URL:** <https://community.thunkable.com/t/didusercancel-block-image-picker/187822>\
**Category:** Questions about Thunkable X\
**Created:** [August 19, 2019, 9:48pm UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822 "2019-08-19T21:48:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jxbclothes69gc7](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jxbclothes69gc7/32/47053_2.png) [@jxbclothes69gc7](https://community.thunkable.com/u/jxbclothes69gc7)\
**Post date:** [August 19, 2019, 9:48pm UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/1 "2019-08-19T21:48:25Z")

</div>

Everytime I cancel while picking image the app crashes what can I do

---

<div class="post-metadata">

**Author:** ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)\
**Post date:** [August 20, 2019, 12:59am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/2 "2019-08-20T00:59:42Z")

</div>

Remember that when you cancel, it triggers the event DidUserCancel = true , maybe you have a code that causes to crash when recieving that event

---

<div class="post-metadata">

**Author:** ![jxbclothes69gc7](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jxbclothes69gc7/32/47053_2.png) [@jxbclothes69gc7](https://community.thunkable.com/u/jxbclothes69gc7)\
**Post date:** [August 20, 2019, 7:17am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/3 "2019-08-20T07:17:47Z")

</div>

Do I need to connect did user cancel block to anything for example right now I have set to label at first I thought it’s crashing because it’s not connected to anything but it still does

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 8:39am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/4 "2019-08-20T08:39:30Z")

</div>

In which operating system version is this happening and on which device?

---

<div class="post-metadata">

**Author:** ![jxbclothes69gc7](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jxbclothes69gc7/32/47053_2.png) [@jxbclothes69gc7](https://community.thunkable.com/u/jxbclothes69gc7)\
**Post date:** [August 20, 2019, 8:40am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/5 "2019-08-20T08:40:43Z")

</div>

Ios

---

<div class="post-metadata">

**Author:** ![jxbclothes69gc7](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jxbclothes69gc7/32/47053_2.png) [@jxbclothes69gc7](https://community.thunkable.com/u/jxbclothes69gc7)\
**Post date:** [August 20, 2019, 8:41am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/6 "2019-08-20T08:41:05Z")

</div>

And it’s not only my device happend on every iOS device

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 8:42am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/7 "2019-08-20T08:42:46Z")

</div>

If you send me a link to your project in a personal message, I will look at it. I remember that a similar problem was once encountered when canceling camera images on iOS 10.3. I am using iOS 12 now and don’t remember having image picker problems

---

<div class="post-metadata">

**Author:** ![jxbclothes69gc7](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jxbclothes69gc7/32/47053_2.png) [@jxbclothes69gc7](https://community.thunkable.com/u/jxbclothes69gc7)\
**Post date:** [August 20, 2019, 8:48am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/8 "2019-08-20T08:48:33Z")

</div>

I’m using 12.3.1 and yes I’ll send you the link right now

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 8:53am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/9 "2019-08-20T08:53:53Z")

</div>

On iOS 12.4, selecting and canceling an image works well.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 9:25am UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/10 "2019-08-20T09:25:28Z")

</div>

[Daniel\_Coglitore](http://community.thunkable.com/u/Daniel_Coglitore) turned out to be right. There are blocks on the screen that try to perform an operation on a non-existent object. For this reason, the application crashes.

---

<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:11pm UTC](https://community.thunkable.com/t/didusercancel-block-image-picker/187822/11 "2024-11-08T12:11:49Z")

</div>


