Image load mismatched swift

1

Hello in my project of xcode with swift add a gallery of images carousel style what happens in this case is that whenever you loaded the image the first time it runs down and with a white space above only happens in the first image and when the press is solved which is not the idea and should load ok from the beginning.

How can I solve this?

    
asked by Nicolas Rudisky 01.06.2016 в 22:00
source

1 answer

1

Add the following line of code in viewDidLoad of UIPageViewController

self.edgesForExtendedLayout = .None
    
answered by 01.06.2016 / 23:33
source