# AUV3 plugin on iOS not honouring constraints

**URL:** <https://forum.juce.com/t/auv3-plugin-on-ios-not-honouring-constraints/52271>\
**Category:** MacOSX and iOS\
**Created:** [July 21, 2022, 7:02pm UTC](https://forum.juce.com/t/auv3-plugin-on-ios-not-honouring-constraints/52271 "2022-07-21T19:02:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [July 21, 2022, 7:02pm UTC](https://forum.juce.com/t/auv3-plugin-on-ios-not-honouring-constraints/52271/1 "2022-07-21T19:02:45Z")

</div>

Hi, I have a plugin that I’m running under AUM on iOS.

The plugin has some constraints for aspect ratio and sizes set up but these are being ignored it would seem. Code works fine in desktop plugins (e.g. VST3, AU etc).

Any ideas? thx

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [July 21, 2022, 10:10pm UTC](https://forum.juce.com/t/auv3-plugin-on-ios-not-honouring-constraints/52271/2 "2022-07-21T22:10:27Z")

</div>

I’ve also run into that on the Mac. I believe @reuk has more information.

---

<div class="post-metadata">

**Author:** ![DavidCNAntonia](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/davidcnantonia/32/3293_2.png) [@DavidCNAntonia](https://forum.juce.com/u/DavidCNAntonia)\
**Post date:** [July 21, 2022, 10:39pm UTC](https://forum.juce.com/t/auv3-plugin-on-ios-not-honouring-constraints/52271/3 "2022-07-21T22:39:10Z")

</div>

As far as I’m aware, setting constraints in iOS AUv3 is not possible. I usually manually rescale my UI within the window size that I’m given.

---

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [July 22, 2022, 6:38am UTC](https://forum.juce.com/t/auv3-plugin-on-ios-not-honouring-constraints/52271/4 "2022-07-22T06:38:43Z")

</div>

Hi. thx.I don’t want to rescale as the aspect ratio would be off. It’s just possible to have a lot of white space in the window which doesn’t look great. I guess if that’s a limitation it’s something the users will have to live with. thx

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [July 22, 2022, 9:59am UTC](https://forum.juce.com/t/auv3-plugin-on-ios-not-honouring-constraints/52271/5 "2022-07-22T09:59:40Z")

</div>

There’s some more info here:

> [@Auv3 resizing issue on macos (not ios)](https://forum.juce.com/t/auv3-resizing-issue-on-macos-not-ios/43811/10):
>
> I’ve spent some time debugging this. There seem to be several issues with AUv3 resizing, only one of which we can work around in JUCE: JUCE plugins were not responding to host-initiated resize requests. I have a fix for this, which I’ll push once it’s been reviewed. Unfortunately, this only seems to work on Big Sur. On Catalina, I can’t get host-initiated resize to work for JUCE plugins or for Apple’s AUv3 Filter Demo. Given that Apple’s demo is broken, I think this is likely a platform issue. …

---

<div class="post-metadata">

**Author:** ![leehu](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/leehu/32/3280_2.png) [@leehu](https://forum.juce.com/u/leehu)\
**Post date:** [July 22, 2022, 2:41pm UTC](https://forum.juce.com/t/auv3-plugin-on-ios-not-honouring-constraints/52271/6 "2022-07-22T14:41:36Z")

</div>

hi - thx for the link, but everything seems fine on desktop, it’s iOS that’s the issue.
