Information about in-progress file transfers.
SDKs
- iOS 9.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Framework
- Watch
Connectivity
Declaration
class WCSessionFileTransfer : NSObject
Overview
You do not create instances of this class yourself. When you initiate a file transfer, the system creates a new file transfer object to represent the transferred file. Use that object to get the file information or to cancel the transfer as needed.
To initiate a file transfer operation, call the transfer
method of your app’s WCSession
object.