Hide notification action button at run-time
<p>I have registered for push and local notifications with two action buttons: action1 and action2. Upon receiving the notification, I can see both and can also take action depending on the action id. However, one of my use cases requires me to hide one or both the action buttons before I schedule local notification. Can I do that at run-time?</p>

<pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
</code></pre>

<p>In this method I am registering for notifications with 2 action buttons.</p>

<p>I see that depending on context we can define variable number of action buttons. However, context is predefined and not user defined.</p>