You need to add Horizontal Space constrains as below:
How do I extend a UIToolbar across landscape orientation in iOS7?
-
30-06-2022 - |
Pregunta
I have a UIToolbar set up in my view controller that has a width of 768, extending across portrait view as I desire. But when I rotate to landscape, the toolbar maintains the same width, instead of extending to 1024 pixels.
I'm probably missing something obvious, but I can't seem to figure this out. Any ideas? Thanks.
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow