Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

devangpandya

macrumors newbie
Original poster
Mar 14, 2009
2
0
i am having an eBook in the form of html pages which are in chinese language. Now i need to display the html content in a uiwebview.i am using the following code to do this.

NSString *filepath=[NSBundle mainBundle] pathForResource:mad:"1" ofType:mad:"htm";
NSString *str= [NSString stringWithContentsOfFile:filepath];
[wbview loadHTMLString:str baseURL:nil;

I am able to get the chinese content in str but doesn't display anything on webview.
I think i have missed somthing.
Thanks in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.