예제 #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);

            layout = new UICollectionViewFlowLayout {
                ItemSize = new SizeF(100, 100)
            };

            photosController = new PhotosViewController(layout);

            navController = new UINavigationController(photosController);

            window.RootViewController = navController;

            window.MakeKeyAndVisible();

            return(true);
        }
예제 #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow (UIScreen.MainScreen.Bounds);

            layout = new UICollectionViewFlowLayout {
                ItemSize = new SizeF(100,100)
            };

            photosController = new PhotosViewController (layout);

            navController = new UINavigationController (photosController);

            window.RootViewController = navController;

            window.MakeKeyAndVisible ();

            return true;
        }
 public PhotoLibraryObserver(PhotosViewController controller)
 {
     this.controller = controller;
 }
 public PhotoLibraryObserver(PhotosViewController controller)
 {
     this.controller = controller;
 }