Skip to content Skip to sidebar Skip to footer

How To Get Reference To Self.view And Self.view.frame In Nativescript

I am trying to call the UIPrinterPickerController in NativeScript on an iPad. I've tracked down the call that I need to make and it is here: UIPrinterPickerController.presentFromRe

Solution 1:

You were actually very close; the UIView for the Page; would be:

var pageLoaded = function(args) {
  var page = args.object;  // Get the NativeScript Page object
  var uiView = page.ios;   // Get the underlying iOS native Control
}

Post a Comment for "How To Get Reference To Self.view And Self.view.frame In Nativescript"