When testing my app on an iPad using multitasking and I change the app size on the app, the collection view cells need to be resized or else they don't fit in the view window.
I have took some measures such as
- detecting device to change the size of the cells
- measure view size to make sure cells fit within the window
- Add an observer if user changes device orientation
This is all great but however when actually changing the window size when using multitasking, or going back to the full screen app, the cell sizes don't change and look out of place. This is until forced by switching orientation or switching view controllers so viewWillLoad
or viewDidLoad
gets executed again.
So how can I set a notification if the view.frame
size changes ?