If you want to check for line breaks and want to replace it with a <p></p> or a <br/> tag you can use a simple function in NSString. I came to this situation which working for the iPad version of Kish Multi Pro. I wanted to add the <br /> tag where we have line break so show the post on the UIWebview Controller.
NSString *stringWithBr = [[selectedPost.postContent componentsSeparatedByCharactersInSet:[NSCharacterSet newlineCharacterSet]] componentsJoinedByString:@"<br />"];
- Displaying a UIWebView with custom HTML content : In my RSS feed reader project,...
- How to get the first image URL from NSString ? : I am working on a RSS...
- Kish Multi Pro – What is in Version 4.0 : Just an update on the development...
- Do you get paid for tweeting and re-tweeting ? I do make money Tweeting : There are millions who use twitter...
- WordPress Blog Manager : You can manage all your blogs...
Tweet Samsung Galaxy Note Rom is available for download, but this is only for AT&T users (This ...
Tweet I am currently using a Samsung Galaxy Note and I was using an iPhone 4 and an iPad 2 along wit...