Hello All,
I need to annotate a PDF in my application. is there any API for PDF annotation in iphone/ipad ?
any suggestion thanx in advance.
Hello All,
I need to annotate a PDF in my application. is there any API for PDF annotation in iphone/ipad ?
any suggestion thanx in advance.
No there is none, but you can probably create an array of UITextViews, with a custom background, as stickies or something like that.
You can make a UITextView with a custom background like so:
UITextView *textView = [[UITextView alloc]initWithFrame: window.frame];
textView.text = @"Notes";
UIImageView *imgView = [[UIImageView alloc]initWithFrame: textView.frame];
imgView.image = [UIImage imageNamed: @"myImage.jpg"];
[textView addSubview: imgView];
[textView sendSubviewToBack: imgView];
[window addSubview: textView];
And then you can set the position with:
textView.position = CGPointMake(xcoord, ycoord);