【发布时间】:2014-10-18 11:07:06
【问题描述】:
我发现这个问题是使用 Objective-c 提出的,但我无法将其翻译成 C#
例如 open-specific-view-when-opening-app-from-notification
基本上我想这样做:
public override void ReceivedRemoteNotification (UIApplication application, NSDictionary userInfo)
{
string alert = (aps[new NSString("alert")] as NSString).ToString();
Debug.WriteLine ("I want to open a specific ViewController and pass in my alert");
}
我实际上是在使用 mvvmcross 来管理我的视图导航。所以理想情况下,我想以某种方式使用 mvvmcross 实现这种导航。在 mvvmcross 中,我将通过以下方式导航到我的 ViewControler:
this.ShowViewModel<SpecificControllerViewModel>();
谢谢
【问题讨论】: