module ProMotion::DelegateModule::ClassMethods
Public Instance Methods
get_tint_color()
click to toggle source
# File lib/ProMotion/delegate/delegate_module.rb, line 136 def get_tint_color @tint_color || nil end
status_bar(visible = true, opts = {})
click to toggle source
# File lib/ProMotion/delegate/delegate_module.rb, line 107 def status_bar(visible = true, opts = {}) info_plist_setting = NSBundle.mainBundle.objectForInfoDictionaryKey('UIViewControllerBasedStatusBarAppearance') if info_plist_setting == false && visible == false mp "The default behavior of `status_bar` has changed. Calling `status_bar` will have no effect until you remove the 'UIViewControllerBasedStatusBarAppearance' setting from info_plist.", force_color: :yellow end @status_bar_style = case visible when false then :hidden when true then :default else visible end @status_bar_animation = opts[:animation] || :default end
status_bar_animation()
click to toggle source
# File lib/ProMotion/delegate/delegate_module.rb, line 124 def status_bar_animation @status_bar_animation end
status_bar_style()
click to toggle source
# File lib/ProMotion/delegate/delegate_module.rb, line 120 def status_bar_style @status_bar_style end
tint_color(c)
click to toggle source
# File lib/ProMotion/delegate/delegate_module.rb, line 128 def tint_color(c) @tint_color = c end
tint_color=(c)
click to toggle source
# File lib/ProMotion/delegate/delegate_module.rb, line 132 def tint_color=(c) @tint_color = c end