<!--
{
  "documentType" : "article",
  "framework" : "NearbyInteraction",
  "identifier" : "/documentation/NearbyInteraction/algorithm-convergence-status",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Algorithm Convergence Status"
}
-->

# Algorithm Convergence Status

The possible Objective-C states of Camera Assistance.

## Discussion

When the app enables Camera Assistance by setting [`isCameraAssistanceEnabled`](/documentation/NearbyInteraction/NINearbyPeerConfiguration/isCameraAssistanceEnabled) = `true`, the framework may require user action before the feature is operational at runtime. This enumeration indicates whether Camera Assistance currently functions as expected on device, and the [`NIAlgorithmConvergenceStatusReason`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatusReason) reasons define the recommended user actions to get Camera Assistance operational, if needed.

## Topics

### Coaching recommendations

[`extern NIAlgorithmConvergenceStatusReason const NIAlgorithmConvergenceStatusReasonInsufficientHorizontalSweep;`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatusReasonInsufficientHorizontalSweep)

Indicates that the camera needs to view the user’s environment from different horizontal angles.

[`extern NIAlgorithmConvergenceStatusReason const NIAlgorithmConvergenceStatusReasonInsufficientVerticalSweep;`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatusReasonInsufficientVerticalSweep)

Indicates that the camera needs to view the user’s environment from different vertical angles.

[`extern NIAlgorithmConvergenceStatusReason const NIAlgorithmConvergenceStatusReasonInsufficientMovement;`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatusReasonInsufficientMovement)

Indicates that the device needs to move from its current position in the physical environment.

[`extern NIAlgorithmConvergenceStatusReason const NIAlgorithmConvergenceStatusReasonInsufficientLighting;`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatusReasonInsufficientLighting)

Indicates that the camera needs to view the phsyical environment under better lighting conditions.

### Status

[`enum NIAlgorithmConvergenceStatus`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatus-2fnve)

The possible states of Camera Assistance.

### Reasons

[`typedef NSString * NIAlgorithmConvergenceStatusReason;`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatusReason)

The possible reasons for the framework’s Camera Assistance status.

[`extern NSString *NIAlgorithmConvergenceStatusReasonDescription(NIAlgorithmConvergenceStatusReason const reason);`](/documentation/NearbyInteraction/NIAlgorithmConvergenceStatusReasonDescription)

A human-readable description for a particular convergence status reason.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)