PhilippeBoisney / AlertOnboarding

A simple and attractive AlertView to onboard your users in your amazing world.
MIT License
842 stars 109 forks source link

PageControl Indicator not showing #4

Closed xradeon closed 8 years ago

xradeon commented 8 years ago

PageControl indicator doesn't show when purcentageRatioHeight is less than default (0.8).

The error seems to be on AlertPageViewController:

    let alertViewSizeHeight = UIScreen.mainScreen().bounds.height*0.8

It must be:

    let alertViewSizeHeight = UIScreen.mainScreen().bounds.height*alertview.purcentageRatioHeight

Thanks

xradeon commented 8 years ago

Also contains typo purcentageRatioHeight must be percentageRatioHeight.. 😄

PhilippeBoisney commented 8 years ago

I've just fixed the bug in v1.6. Please update your Cocoapod file. Thank you for your review and your help :)