2011-06-26 28 views
1

-[UIApplication sendAction:to:from:forEvent:]方法看起來很有趣。有什麼用法大大利用這個方法嗎?sendAction的用法:to:from:forEvent:?

+0

請考慮將我的答案標記爲已接受。 – jemmons

+0

@jemmons感謝您的答案。但很難找到你提到的文字。我可以有鏈接嗎? – Eonil

+0

[你在這裏](https://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/event_delivery_responder_chain/event_delivery_responder_chain.html) – jemmons

回答

2

閱讀可可中的「Responder chain」模式。調用此方法(參數爲nil)是iOS應用程序向該鏈發佈操作的方式。