evgenyneu / Auk

An image slideshow for iOS written in Swift.
MIT License
278 stars 44 forks source link

Page control is not visible #32

Closed ohorbach closed 8 years ago

ohorbach commented 8 years ago

Hi, page control is not visible if I'm setting images in viewDidLoad method:

` @IBOutlet weak var carouselView: UIScrollView! override func viewDidLoad() { super.viewDidLoad()

    title = NSLocalizedString("PHOTO BOOK INFO", comment: "")
    navigationItem.rightBarButtonItem = nextButtonItem
    edgesForExtendedLayout = UIRectEdge.None

    infoLabel.text = viewModel.templateInfoText
    deliveryLabel.text = viewModel.deliveryText

    carouselView.auk.show(image: UIImage(named: "InfoScreenBook")!)
    carouselView.auk.show(image: UIImage(named: "InfoScreenBook")!)
    carouselView.auk.show(image: UIImage(named: "InfoScreenBook")!)
}

`