QLPreviewPanel functions for iOS
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
- Images
- 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.
# Prepare
If [ MBS("QLPreviewPanel.IsVisible") ]
Set Variable [ $r ; Value: MBS("QLPreviewPanel.Hide") ]
End If
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!