alexaubry/BulletinBoard

seeking suggestions for handling rotation

开放

#92 创建于 2018年6月27日

 (4 条评论) (0 个反应) (0 位负责人)Swift (302 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (5,338 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Some of my taller Bulletin Board items render poorly when the phone is rotated. It happens when the description text is long, and especially when an image is set. Typically, the label is truncated to a single line, the primary button is shrunk to a minimum size, and the secondary button is pushed off screen. It is possible to scroll but it does not work well and is not intuitive.

I'm wondering if or how other folks are dealing with rotation. Turning it off for the app is not an option.

Would it be possible to expose supportedInterfaceOrientations() from the BulletinBoardManager? That seems like the simplest change. I also thought about trying to expose more of the stack view, or constraints on the ui elements, or improving the scrolling behavior.

贡献者指南