阅读背景:

当UIWindow RootViewController更改SWIFT时触发一个事件/方法

来源:互联网 

I'm working on an iOS framework. I have a requirement to log events when user enters or exits a particular View Controller. For that I was thinking if somehow I could be able to register a notification to trigger a custom method when the root view controller changes. Or perhaps use KVO. But I don't understand how to do this from an implementation point of view since I cannot find any such notification.I'm working on an iOS framework. I have a requi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: