Friends, I am trying to create a *.PDF file using Core Text framework in my iOS app using cocos2d. I was referring this tutorial.
I was able to put text,lines,table using lines, UIImage, etc. But when I searched for a way to add an UIView (with some attributes like, border color, background colr, corner radius, etc) to my Image, nothing helpd me.
So my question is: How can I draw an UIVIew (with some attributes like, border color, background colr, corner radius, etc) to my existing .pdf file?
Note: I don't want to add the UIView from any screenshot. I am trying to directly draw an UIVIew (or somewhat like a rounded cornered rectangle) to my pdf. I may want custome sizes. So, using a picture doesn't feels like a proper solution.
This is what I am trying to achieve:
Thanks in advance.