This question is locked. New answers and comments are not allowed.
Hey all,
I created a simple iOS app with Objective-C where I just place a MKMapView in a UIView. I've been trying to replicate this in NativeScript and I can't get the map to appear. Here's my code:
This code runs without any errors, but I see no map. Any ideas what might be up here?
Thanks,
TJ
I created a simple iOS app with Objective-C where I just place a MKMapView in a UIView. I've been trying to replicate this in NativeScript and I can't get the map to appear. Here's my code:
<
Page
navigatedTo
=
"load"
>
</
Page
>
exports.load =
function
( args ) {
var
iosView = args.object.ios._page._view;
var
map = MKMapView.alloc().initWithFrame( CGRectMake( 0, 0, 1000, 1000 ) );
iosView.addSubview( map );
};
This code runs without any errors, but I see no map. Any ideas what might be up here?
Thanks,
TJ