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
"1" ofType
"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.
NSString *filepath=[NSBundle mainBundle] pathForResource
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.