last day (14 days later) » 

5:21 AM
Hi
 
Hi. Thanks for your help!
 
np
Let me clarity the problem a little bit
clarify*
so what you'd like to do is navigate to a specific page when user launches the app with 3D Touch shortcut items
 
That is correct
And I am able to do this, except when the app is first launched
 
and it's working when the app is already up and running
ok
actually I've encountered the same problem in on of my apps
I'm using NSNotification as well
 
Ok got it
Have you found a solution in your other app?
 
5:25 AM
yep
the problem here is that when the app is first launched
the ViewController you'd like to handle the notification is not yet loaded
thus no object will receive the notification at that time
 
Right that makes sense
Is there a workaround?
 
so the solution I'm using now is storing the shortcutItem and trigger the notification when the view is loaded
 
Since most of my quick actions are handled in the AppDelegate, is there anyway to implement an if statement to check if the view controller had loaded?
 
what i'm doing right now looks like this
please ignore the right :P
 
Oh I see what you are doing
Let me try implementing a verison of this
I will get back to yo
*you
 
5:31 AM
cool
 
5:41 AM
The solution worked!
Thank you so much
I was stuck on this for over two hours
 
Great!
NP NP
thought you're working on a scholarship project
btw, I'll update my answer later today to fit in your situation
thought you're working on a scholarship project, wish you best of luck then :)
 
Thank you! I plan on submitting later today!
I really appreciate your help!
This saved ma a lot of time
*me
 
no problem
 

last day (14 days later) »