SwiftPhotoGallery
SwiftPhotoGallery copied to clipboard
Fixed iPad multitasking issue
When gallery view runs on iPad with multitasking enabled, the image is not placed in centre. Because the size of header and footer was set to screen size which doesn't equal view size in multitasking mode.
Nice find! I'm testing your solution but still seeing some bugs. There might be more to this than these 2 lines.