bobbyali / kidsvidz

KidsVidz - Simple and Safe iOS YouTube player for young children
0 stars 1 forks source link

Rotation bug - messes up after video player ends #2

Closed bobbyali closed 9 years ago

bobbyali commented 9 years ago

App wants to default back to portrait after it transitions from player view back to grid view, and this screws up the layout. I've tried adding code to update the screen after this transition (when viewWillAppear() gets called), but it doesn't help. I suspect I'm missing something here - maybe need an explicit call to force orientation to landscape if the view was previously in landscape? https://github.com/bobbyali/kidsvidz/blob/master/KidzVids/GridViewController.swift#L139-L157

bobbyali commented 9 years ago

Issue #14 may be related to this?