mercredi 2 avril 2014

iOS UIWebView and Sencha Touch

Hello,



I've seen a lot discussions about the use of the UIWebView component in iOS and

displaying Sencha Touch content. I could'nt find a right solution.



I have a working Sencha Touch based Web appliction running on a server. By connecting

via an iPad or iPhone browser, I can work with the application. When I try to use an iOS

UIWebView like this:


- (void)viewDidLoad

{

[superviewDidLoad];



NSURL *url = [NSURLURLWithString:@"http://ift.tt/1jA1Gue;];

NSURLRequest *request = [NSURLRequest requestWithURL:url];

[webView loadRequest: request];

}



It will not work (blanc screen). I tried the example's on the forum by changing the app.js:



Ext.application({

viewport: {

autoMaximize: false

},



This will also not work. Does anyone has some experience with using Sencha Touch in

an UIWebView?



Thanks in advance,



Marc













Aucun commentaire:

Enregistrer un commentaire