Objective-C应该或可能多次触发回调?

时间:2017-02-20 06:11:57

标签: ios objective-c callback

当我在reply:的{​​{1}}附加{@ 1}}回调时,WKInterfaceController +opendParentApplication:reply:会在appDelegate中收到reply:的回调。

我可以而且应该保留application:handleWatchKitExtensionRequest:reply:中的回调并在我想向呼叫者(即分机)发送内容时多次呼叫吗?

非常感谢。

1 个答案:

答案 0 :(得分:0)

是的,您可以在appDelegate中保留回调。这将优化您的应用程序的性能。