Effects iOS
Effects / Guides / AR masks / iOS

Add an AR face mask in iOS with Nosmai Effects

Updated August 27, 2026

Download a face-tracked AR mask through Cloud Filters, apply it in iOS, and remove it safely.

Prerequisites

  • A working iOS quickstart
  • A compatible AR mask available through Cloud Filters

Obtain the mask

Select and download a compatible AR mask through Cloud Filters.

Apply it

[[NosmaiCore shared].effects
    applyEffect:maskPath
     completion:^(BOOL success, NSError *error) {
  if (!success) NSLog(@"Mask failed: %@", error.localizedDescription);
}];

The Cloud Filter provides face anchoring and its configured reactions. The application applies the filter without implementing separate tracking logic.

Remove it

Use the typed NosmaiFilterInfo returned by the Cloud Filter catalog:

[[NosmaiSDK sharedInstance] removeEffectInfo:maskInfo];

Verify it worked

Move the face through the center and edges of the frame, turn away briefly, then return. The Cloud Filter should recover according to its configured behaviour.

Common errors

SymptomFix
Mask is absentUse a well-lit visible face and inspect apply completion
Mask replaces a beauty filterBoth occupy the AR slot; apply the intended package last
Tracking becomes unstable at the edgeImprove lighting and keep key content inside the tested camera area

Next steps

References

Nosmai

An AR and AI company. Founded on the idea that the next decade of software will be visual, and that the tools for it should be within reach of anyone building.

Newsletter

Product updates and release notes. No spam.

© 2026 nosmai, inc · all rights reserved