Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

NSWindowRestoration, INSWindowRestoration ?? How to implement window restoration

$
0
0

I've been banging my head for hours now. Has anyone implemented window state restoration? I cannot find any xamarin / c# example.

I have tried adoption INSWindowRestoration in my windowcontroller. Also in my awakefromnib (in the windowcontroller):

Window.Restorable = true;
Window.RestorationClass = this.Class;
Window.Identifier = "ModuleViewWindowController1";

But my
public static void RestoreWindow(string identifier, NSCoder state, NSWindowCompletionHandler completionHandler)

is never called


Viewing all articles
Browse latest Browse all 1429

Latest Images

Trending Articles



Latest Images