alexaubry/BulletinBoard

seeking suggestions for handling rotation

オープン

#92 opened on 2018/06/27

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Swift (302 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (5,339 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド