Native Page

SeattleClouds developers designed a new page type "Native". 
Now, you can implement your own native page and integrate it in your app. 

(Programming skills required!!!)

2. Paste your code in .m file and save changes:

#import "native1ViewController.h"
#import "SCAppContext.h"
@interface native1ViewController ()
@end
@implementation native1ViewController
- (id)init {
    self = [super init];
    if (self) {  
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
}
- (void)viewDidAppear:(BOOL)animated {
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Title" message:@"Hello World!" delegate:nil cancelButtonTitle:@"Close" otherButtonTitles: nil];
    [alert show];
    [alert release];
}
- (void)viewDidUnload {
    [super viewDidUnload];
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)i​​​​​​​​​​​​​​​​​nterfaceOrientation {
    return [[SCAppContext sharedContext] shouldAutorotateToInterfaceOrientationGlobal:interfaceOrientation];
}
@end

The .h file is generated automatically. 

You will need to create a link to the "Native" page.

**NOTE: In order to preview the Native code you have added in your app you should request an AD HOC Build. You're not able to preview the Native Page type on our Previewer apps or Web Simulator.

Result: