【发布时间】:2014-02-21 18:17:50
【问题描述】:
这里我的pushController有问题,因为我想使用da,s我的子类这样
class cellEmpty < cell
@button_help.when(UIControlEventTouchUpInside) do
push RecommendationController.alloc.init
end
def push(controller)
navigationController.pushViewController(controller, animated:true)
end
end
这里是错误:
undefined local variable or method `navigationController'
但是我,所以我想一定是我在子类中使用它。 但是怎么用呢
提前谢谢你
【问题讨论】:
标签: ios rubymotion navigationcontroller