Please print the console when it crashes. Also, can you check whether _loveIconModel.image is of type NSString? Set a breakpoint during execution to confirm. Maybe you are paying other types to the String type
From the second picture, it is obvious that the object of the model is not iconlovemodel. The get methods of the image and name attributes corresponding to iconlovemodel cannot be found. You can just print iconlovemodel and see.
When assigning a value to the key of the Model, convert it to the corresponding type
Please print the console when it crashes. Also, can you check whether _loveIconModel.image is of type NSString? Set a breakpoint during execution to confirm. Maybe you are paying other types to the String type
It seems that the problem caused by yymodel in the second-layer model has not been solved yet,
From the second picture, it is obvious that the object of the model is not iconlovemodel. The get methods of the image and name attributes corresponding to iconlovemodel cannot be found. You can just print iconlovemodel and see.