我按照苹果开发者大会提供的代码创建了一个NSUserActivity,但是在spotlight里就是搜不出来。不知道各位是不是也遇到这个问题?还是我代码有问题?求高手解答
认证0级讲师
If you compare the code provided by WWDC, without relying on CoreSpotlight, userActivity may be deallocated after execution is completed, resulting in failure to be indexed successfully.
If you compare the code provided by WWDC, without relying on CoreSpotlight, userActivity may be deallocated after execution is completed, resulting in failure to be indexed successfully.