Hello,
I'm blocking on a little problem and can't understand what i am doing wrong:
I'm trying to add your PDFThumbnail to my custom application with the piece of code:
CGRect boundsc = [[UIScreen mainScreen]bounds];
if (![self isPortrait] && boundsc.size.width < boundsc.size.height) {
float height = boundsc.size.height;
boundsc.size.height = boundsc.size.width;
boundsc.size.width = height;
}
int cwidth = boundsc.size.width;
int cheight = boundsc.size.height;
float hi = self.navigationController.navigationBar.bounds.size.height;
if(SYS_VERSION>=7.0) {
m_thumbview = [[PDFThumbView alloc] initWithFrame:CGRectMake(0, cheight-50, cwidth, 50)];
} else{
m_thumbview = [[PDFThumbView alloc] initWithFrame:CGRectMake(0, cheight-hi-50-20, cwidth, 50)];
}
[m_thumbview vOpen :m_doc :self];
[self.view addSubview:m_thumbview];
return 1;
but it doesn't appear...
Could i send you my sample code in order to understand what went wrong?
By advance thanks