Class: TestViewController

Inherits:
UIViewController
  • Object
show all
Defined in:
app/test_view_controller.rb

Instance Method Summary collapse

Instance Method Details

#viewDidLoadObject



3
4
5
6
7
8
# File 'app/test_view_controller.rb', line 3

def viewDidLoad
  super
  Debugmotion.log('TestViewController -> viewDidLoad')
  Debugmotion.log("View height : #{self.view.size.height}")
  Debugmotion.log("View width : #{self.view.size.width}")
end

#viewWillAppear(animated) ⇒ Object



10
11
12
13
14
15
16
17
# File 'app/test_view_controller.rb', line 10

def viewWillAppear(animated)
  Debugmotion.log('TestViewController -> viewWillAppear')


  BW::Location.get do |result|
    Debugmotion.log(result)
  end
end