zdavatz / AmiKo-iOS

AmiKo Desitin für iPhone und iPad
https://apps.apple.com/ch/app/amiko-desitin/id687642725
GNU General Public License v3.0
1 stars 2 forks source link

Layout is not recalculated #37

Closed zdavatz closed 6 years ago

zdavatz commented 6 years ago

At the moment the layout is not recalculated in the app when changing orientation, unless it's done by the system.

As mentioned by @bettar on 30.3. in the AmiKo-Slack channel:

I have a feeling, that when you rotate the device the TextView is not reloaded, and still thinks it has to stick to the PT mode, but in fact it is in LS mode.

zdavatz commented 6 years ago

@bettar also says

Maybe we need to add willRotateToInterfaceOrientation

Generikacc App is using that, see

https://github.com/zdavatz/generikacc/blob/master/Generika/MasterViewController.m https://github.com/zdavatz/generikacc/blob/master/Generika/ReceiptViewController.m

zdavatz commented 6 years ago

Closing this. This is done. #7