FritzVisionSegmentationModel deprecated for IOS

FritzVisionSegmentationModel’ is showing deprecated.
How to update that method .
After update that method mask should work for us.
I use below code

segmentationModel = FritzVisionSegmentationModel(model:Fingernailmodel17June(),
name:“PeopleWallFloorClass”,
classes:PeopleWallFloorClass.allClasses)

please provide solution in term of code replacement.

Try this:

segmentationModel = FritzVisionSegmentationModel(model: Fingernailmodel17June())

A CHANGELOG for the Swift SDK can be found here.