# Messages screen freezing

**URL:** <https://community.sendbird.com/t/messages-screen-freezing/3410>\
**Category:** iOS\
**Tags:** feedback, ios, uikit, bug\
**Created:** [November 22, 2021, 10:02am UTC](https://community.sendbird.com/t/messages-screen-freezing/3410 "2021-11-22T10:02:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nab0y4enko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nab0y4enko/32/1870_2.png) [@nab0y4enko](https://community.sendbird.com/u/nab0y4enko)\
**Post date:** [November 22, 2021, 10:02am UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/1 "2021-11-22T10:02:12Z")

</div>

After v2.1.9 UIKit SDK started freezes app after open file message first time(not before cached image).  
This is due to the use of a synchronous thread in the viewDidLoad method, which is a movetón

[https://user-images.githubusercontent.com/1070269/140511483-dbdebde2-7fd8-46d4-86fe-50a0f34f6687.mov](https://user-images.githubusercontent.com/1070269/140511483-dbdebde2-7fd8-46d4-86fe-50a0f34f6687.mov)

`Copied the description of the issue here, because developers aren't responding on github :frowning:`

> <https://github.com/sendbird/sendbird-uikit-ios/pull/21>
>
> After v2.1.9 SDK started freezes app after open file message first time.
> This i…s due to the use of a synchronous thread in the viewDidLoad method, which is a movetón
> https://user-images.githubusercontent.com/1070269/140511483-dbdebde2-7fd8-46d4-86fe-50a0f34f6687.mov

Our users send lot of images, so we still should use old version of SDK in app

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [November 22, 2021, 1:06pm UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/2 "2021-11-22T13:06:46Z")

</div>

Hi @nab0y4enko,

Welcome to the Sendbird community. I’ll connect with our Engineering team to better understand what is going on here.

As a note, we do not accept external pull requests.

---

<div class="post-metadata">

**Author:** ![nab0y4enko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nab0y4enko/32/1870_2.png) [@nab0y4enko](https://community.sendbird.com/u/nab0y4enko)\
**Post date:** [November 22, 2021, 3:46pm UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/3 "2021-11-22T15:46:34Z")

</div>

Thanks for quick answer! Will wait this fix. Also you can just review my PR - I’ve marked problem place

 ![Screen Shot 2021-11-22 at 5.43.29 PM](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/7/7498ba755f776ca88070a727050ad5763b1343b6.png)

---

<div class="post-metadata">

**Author:** ![nab0y4enko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nab0y4enko/32/1870_2.png) [@nab0y4enko](https://community.sendbird.com/u/nab0y4enko)\
**Post date:** [December 7, 2021, 3:53am UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/4 "2021-12-07T03:53:02Z")

</div>

Hello @Tyler  
Do you have any updates about fix of this issue?

---

<div class="post-metadata">

**Author:** ![nab0y4enko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nab0y4enko/32/1870_2.png) [@nab0y4enko](https://community.sendbird.com/u/nab0y4enko)\
**Post date:** [December 9, 2021, 5:58pm UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/5 "2021-12-09T17:58:52Z")

</div>

No attempt was made in **v2.2.1** to fix this bug.  
Screens **still freeze when first opening media file**.  
I still have to use **v2.1.8 (SendBirdSDK 3.0.238)** instead of latest 🙄

---

<div class="post-metadata">

**Author:** ![nab0y4enko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nab0y4enko/32/1870_2.png) [@nab0y4enko](https://community.sendbird.com/u/nab0y4enko)\
**Post date:** [December 17, 2021, 2:25pm UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/6 "2021-12-17T14:25:33Z")

</div>

Hi @Tyler  
Do you have any info about this reported issue from devs?

---

<div class="post-metadata">

**Author:** ![nab0y4enko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nab0y4enko/32/1870_2.png) [@nab0y4enko](https://community.sendbird.com/u/nab0y4enko)\
**Post date:** [January 1, 2022, 12:36am UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/7 "2022-01-01T00:36:31Z")

</div>

Hello @Tyler  
I hope SendBird developers will pay attention to this issue in next year.  
Happy holidays!

---

<div class="post-metadata">

**Author:** ![Tez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tez/32/146_2.png) [@Tez](https://community.sendbird.com/u/Tez)\
**Post date:** [January 10, 2022, 10:30am UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/8 "2022-01-10T10:30:09Z")

</div>

Hello @nab0y4enko,  
I checked up this issue.  
We will modify the logic of caching files to separate them from the main queue.  
And, modified version will be deploy this week.

Sorry for the late confirmation, Thanks for the reporting!

---

<div class="post-metadata">

**Author:** ![nab0y4enko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nab0y4enko/32/1870_2.png) [@nab0y4enko](https://community.sendbird.com/u/nab0y4enko)\
**Post date:** [January 11, 2022, 3:49am UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/9 "2022-01-11T03:49:44Z")

</div>

Thanks. Looks like already fixed in last version!

---

<div class="post-metadata">

**Author:** ![Tez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tez/32/146_2.png) [@Tez](https://community.sendbird.com/u/Tez)\
**Post date:** [January 11, 2022, 1:29pm UTC](https://community.sendbird.com/t/messages-screen-freezing/3410/10 "2022-01-11T13:29:51Z")

</div>

@nab0y4enko  
Oh, you already checked the last version!  
The last version is 2.2.2.  
Thank you!
