Thanks for your suggestion, but I am still stumped. It's a little difficult to compare since my code is objective C, but as near as I can tell my code is functionally the same. I have a table view controller in which I am creating a NSUserActivity similar to the sample code project. What surprises me about the sample code project is that there is no where in the code where a call is made to activity.becomeCurrent(). My read on the documentation (even the README in the sample code project is that this is necessary to register the activity with the system.
Is there more to this than the code (from sample code project) private func configureUserActivity() of the LocationViewController? This is what I have implemented. This is what the tutorials all suggest is all you need to do. But there must be something else that I am missing.
Is there something in the build configuration or settings that I need to activate? I am also including NSUserActivityTypes in my info.plist that correspond to the 2 activities I am trying to create shortcuts for. Is there something else needed in the info.plist?
Any suggestions would be appreciated.
Topic:
App & System Services
SubTopic:
General
Tags: