Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[RubyMotion] blurred background view
class BlurredBackgroundView < UIVisualEffectView
def rmq_build
blur_effect = UIBlurEffect.effectWithStyle(UIBlurEffectStyleDark)
self.effect = blur_effect
self.frame = UIScreen.mainScreen.bounds
# rmq
#class HomeScreenStylesheet < ApplicationStylesheet
# def root_view(st)
# st.background_image = image.resource('bg.jpg')
# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.