I have looked at various similar questions and answers and still cannot get this to work, so I\'m adding my own question:
I\'m playing with UIWebView. I can create a
I think i have figured it out. the htmlString is simply an NSString we can replace text in it. this code worked for me
NSString *info = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"your html file name" ofType:@"html"] encoding: NSUTF8StringEncoding error: &error];
info=[info stringByReplacingOccurrencesOfString:@"styles.css" withString:@"stylesIPad.css"];