Closed herzbube closed 2 years ago
A consequence of the unification effort is that in Portrait orientation the vertical space available for the board view is now slightly reduced.
For most iPhone devices this is not a problem, because for them the vertical space available is still larger than the screen width, so the screen width remains the limiting dimension for the square board view.
However, for the smallest iPhone devices that the app still supports - the iPhone 5S and the iPhone SE (640 points vertical screen size) - the reduction means that the vertical space available is now less than the screen width, so the vertical space available now becomes the limiting dimension. In practice on the affected iPhone devices for some board sizes coordinate labels and/or move numbers and label markup will no longer show up without zooming in.
Ready for next release, closing this issue.
The app currently has very different UI layouts for the three UI types.
UITypePhonePortraitOnly
)UITypePhone
)UITypePad
)A decision has been reached to unify the layouts of the three UI types as much as possible. These were the main decision drivers:
UICollectionView
andBoardPositionCollectionViewCell
. This means changingUITypePad
(get rid of the table view based approach) andUITypePhonePortraitOnly
(get rid of the alternativeUICollectionView
implementation that usesBoardPositionView
as the cell type).UITypePad
andUITypePhonePortraitOnly
currently have hacks that mangleUIToolBar
into submission, so if possible these should start to use the customButtonBoxController
view controller instead of aUIToolbar
.UITypePhone
looks quite neat in my opinion, but the pain and workarounds it took to implement are pretty horrible, and not everything works 100% the way it should. Plus every time I upgrade to a new iOS version there is a new set of smaller or bigger issues that need to be fixed. Again, I am no longer willing to spend the time to support this, so I am going to switch to anUITabBarController
based layout onUITypePhone
. The drawback for the user is that in landscape orientation the board will have less vertical space and will therefore become smaller.UITypePhone
layout to useUITabBarController
, it should be very similar to theUITypePad
layout. There is a huge promise that the two layouts can be merged, with only minimal differences between them.edgesForExtendedLayout
toUIRectEdgeNone
andautomaticallyAdjustsScrollViewInsets
to NO.