# \[iOS SDK\] Emotion Filter stops working when changing orientation

**URL:** <https://forum.deepar.ai/t/ios-sdk-emotion-filter-stops-working-when-changing-orientation/1139>\
**Category:** SDK\
**Created:** [July 25, 2025, 9:36am UTC](https://forum.deepar.ai/t/ios-sdk-emotion-filter-stops-working-when-changing-orientation/1139 "2025-07-25T09:36:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinh](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/kevinh/32/1163_2.png) [@kevinh](https://forum.deepar.ai/u/kevinh)\
**Post date:** [July 25, 2025, 9:36am UTC](https://forum.deepar.ai/t/ios-sdk-emotion-filter-stops-working-when-changing-orientation/1139/1 "2025-07-25T09:36:42Z")

</div>

Hi there,  
I’m running the quickstart-ios-swift project in Xcode with DeepAR 5.6.15 with the standard effect Emotion\_Meter.deepar.  
As soon as I change device orientation the emotion bars don’t move anymore and emotion values are zero. Changing back to regular portrait doesn’t fix it either. I have to force close the app to get it working again.  
Anyone have an idea why this happens?

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/deepar/original/2X/3/3eaa676a5a85aea86f53375fab20642cd5f08648.jpeg)

---

<div class="post-metadata">

**Author:** ![Danylo\_Zherzdiev](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/danylo_zherzdiev/32/1116_2.png) [@Danylo\_Zherzdiev](https://forum.deepar.ai/u/Danylo_Zherzdiev)\
**Post date:** [April 14, 2026, 8:31am UTC](https://forum.deepar.ai/t/ios-sdk-emotion-filter-stops-working-when-changing-orientation/1139/2 "2026-04-14T08:31:20Z")

</div>

Did you manage to solve this problem?
