Moves the file pointer to the specified offset within the file represented by the receiver.
- iOS 2.0–13.0Deprecated
- macOS 10.0–10.15Deprecated
- Mac Catalyst 13.0+
- tvOS 9.0–13.0Deprecated
- watchOS 2.0–6.0Deprecated
The offset to seek to.
Raises an exception if the message is sent to an
NSFile object representing a pipe or socket, if the file descriptor is closed, or if any other error occurs in seeking.