init(fromValue:)
Returns an anchor object from the provided anchor value.
Declaration
convenience init(fromValue value: Int)Parameters
- value:
An anchor value.
Return Value
An anchored object corresponding to the same sample as the anchor value.
Discussion
Prior to iOS 9.0, anchored object queries used anchor values to track the last sample returned by a previous query. Use this method to convert those anchor values into anchor objects.