Hi,
Just noticed something with my most recent compile.. I call
QLPreviewController.ShowDoc(TempPDFFile, False);
Before, I had a IOS print menu button on the top right, and a back button on the top left.. Now, they don't show.. If I click in the right area, it works fine.. but you just cant see the buttons..Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, Here is a sample.. on some demos, it shows, others like this one.. you cant see it.. I wonder if its the view type that it is sitting on? Not sure..
Try version 9.2, and see for yourself..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I will take a pic in the morning.. but if you compile it with 9.1, you will see a done button on the top left.. and a print menu button on the top right..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Just noticed something with my most recent compile.. I call
QLPreviewController.ShowDoc(TempPDFFile, False);
Before, I had a IOS print menu button on the top right, and a back button on the top left.. Now, they don't show.. If I click in the right area, it works fine.. but you just cant see the buttons..Any ideas?
Hi Gordon
I will check it tonight !
Works fine in 9.1..
Look at the proc "TDPFQLPreviewController.Loaded"
if FBackgroundColor <> TAlphaColors.Null then
FQLPreviewController.view.setBackgroundColor( TColorToUIColor( FBackgroundColor ) )
else
FQLPreviewController.view.setBackgroundColor( TUIColor.Wrap( TUIColor.OCClass.clearColor ) );
was changed to .. in 9.2
SetBackgroundColor( FBackgroundColor );
This introduced the bug..
Last edit: Gordon 2015-01-29
Hi Gordon
Can you give me a simple project ?
Regards
Ok, Here is a sample.. on some demos, it shows, others like this one.. you cant see it.. I wonder if its the view type that it is sitting on? Not sure..
Try version 9.2, and see for yourself..
Hi Gordon
Can you put here a image of correct state of your project ?
I will take a pic in the morning.. but if you compile it with 9.1, you will see a done button on the top left.. and a print menu button on the top right..
Here is a screen shot of how it looks in 9.1
This is how it looks in 9.2 and 9.3 with the code change.. Notice missing done and print button..
Look at the proc "TDPFQLPreviewController.Loaded"
if FBackgroundColor <> TAlphaColors.Null then
FQLPreviewController.view.setBackgroundColor( TColorToUIColor( FBackgroundColor ) )
else
FQLPreviewController.view.setBackgroundColor( TUIColor.Wrap( TUIColor.OCClass.clearColor ) );
was changed to .. in 9.2
SetBackgroundColor( FBackgroundColor );
This introduced the bug..
Last edit: Gordon 2015-01-31
Hi Gordon
Please download last source code and check it and let me know about tit.
https://sourceforge.net/p/dpfdelphiios/code/
Regards
Looks great..Thank you so much!