开发者

how to present the HTML output to the view

i hav an html file which displays table view ,how to load this on the ipad view ..

and i want to enter th开发者_StackOverflowe values to the fields of table view in html o/p....

any ideas ..

Thanks in advance...


You'll want to take a look at the UIWebView for displaying a local html file onto the iOS device.

The code below will load index.html from your project folder:

[webView loadRequest:
    [NSURLRequest requestWithURL:
        [NSURL fileURLWithPath:
            [[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"] 
            isDirectory:NO]
    ]
];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜