rahuliyer95 / iShowcase

Highlight the best parts of your application
MIT License
65 stars 25 forks source link

Using swift version, cannot change background color #7

Closed cristinalopes closed 8 years ago

cristinalopes commented 8 years ago

On objective-c version, it works fine, but in swift version, changing the background color doesn't work as expected. One possible fix is by creating a new background color property (for instance "coverColor") and use this color to fill the screen, instead of using the background color. And use this new property in the inicialization, keeping the background color always "clearColor".

Other improvementswould be to create a property to configure the alpha to be applied instead of always being 0.75.

rahuliyer95 commented 8 years ago

Have tried setting the backgroundColor property as shown in the example for the custom iShowcase? I tried with the example application and it was working

rahuliyer95 commented 8 years ago

Please check the rotation-support branch