I have a RTF file which I can view on iphone , Now I need to edit the file programmatically , please let me know how can I do it.
Example
RTF file content
“I am new to StackOverflow”
Now I need to change to below line programmatically.
“I regularly visit StackOverflow” and save as PDF file.
Please do help me 🙂
Thanks in advance 🙂
In your .h file add some objects and defines
in .m file add this lines some where on button click to get contents of rtf file in string
I didnt modify the text of rtf file,I just used same text in rtf file.you should do as you want(I noticed some encoding characters in text) and function that will generate pdf is here.