As you may know MacOS and iOS provide the QLPreview functions to provide previews of files. For MacOS, the QuickLookUI frameworks offers the QLPreviewPanel class and for iOS we have QLPreviewController class. Both allow us to load some files and show the as preview.
We add QLPreviewPanel functions for iOS with next plugin release. The reason is that we want to add the feature to show a preview of a 3D object there. As Apple adds new functions for Augmented Reality, you get new 3D objects to place in scenes. And if you have those objects in your FileMaker container fields, you can now preview them right in your FileMaker iOS solution.
QuickLook Preview can show:
- iWork documents
- Microsoft Office documents (Office ‘97 and newer)
- Rich Text Format (RTF) documents
- PDF files
- Text files
- Comma-separated value (csv) files
- 3D models in USDZ format (with both standalone and AR views for viewing the model) for iOS 12 or newer.
If [ MBS("QLPreviewPanel.IsVisible") ]
Set Variable [ $r ; Value: MBS("QLPreviewPanel.Hide") ]
Set Variable [ $r ; Value: MBS("QLPreviewPanel.Clear") ]
# Add all containers you have
Set Variable [ $r ; Value: MBS("QLPreviewPanel.AddContainer"; PlaceHolder::Container; "Stratocaster") ]
# Run it!
Set Variable [ $r ; Value: MBS("QLPreviewPanel.Show") ]
So please try the new functions with next prerelease and let me know how they work for you!