Class: MotionWechat::Delegate
- Inherits:
-
Object
- Object
- MotionWechat::Delegate
- Defined in:
- lib/motion_wechat/delegate.rb
Instance Method Summary collapse
Instance Method Details
#onReq ⇒ Object
4 5 6 7 8 9 |
# File 'lib/motion_wechat/delegate.rb', line 4 def onReq title = 'onReq' msg = 'onReq message' alert = UIAlertView.alloc.initWithTitle(title, message:msg, delegate:self, cancelButtonTitle:"OK", otherButtonTitles:nil) alert.show end |
#onResp ⇒ Object
11 12 13 14 15 16 |
# File 'lib/motion_wechat/delegate.rb', line 11 def onResp title = "onResp" msg = 'onResp message' alert = UIAlertView.alloc.initWithTitle(title, message:msg, delegate:self, cancelButtonTitle:"OK", otherButtonTitles:nil) alert.show end |