0
我一直在尋找不同的加載屏幕的例子 - 有沒有辦法在探測到水龍頭時插入轉換屏幕(滑動)?目前UIImage.imageNamed立即加載下一個圖形 - 如何使它滑動?如何在RubyMotion中進行滑動切換?
def viewDidLoad
view.image = UIImage.imageNamed('welcome.png')
view.userInteractionEnabled = true
recognizer = UITapGestureRecognizer.alloc.initWithTarget(self, action:'nextScreen')
view.addGestureRecognizer(recognizer)
end