Is it possible to render PDF page in landscape mode using CGContextDrawPDFPage?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sure, if you just use basic drawing in a view, and that view is connected to a UIViewController, rotation is already handled for you.
Note that PDF itself also defines rotation, that you may wanna parse and use.
You can use Apple’s QuickLook-API (introduced in iOS4) for a start.