application(_:openFileWithoutUI:)
Returns a Boolean value that indicates if the app opens the specified file without showing its user interface.
Declaration
@MainActor optional func application(_ sender: Any, openFileWithoutUI filename: String) -> BoolParameters
- sender:
The object that sent the command.
- filename:
The name of the file to open.
Return Value
true if the file was successfully opened or false if it was not.
Discussion
Sent directly by sender to the delegate to request that the file filename be opened as a linked file. The method should open the file without bringing up its application’s user interface—that is, work with the file is under programmatic control of sender, rather than under keyboard control of the user.