Help code a block/report user feature in a chat app

My app is a simple chat app, but I havent been able to figure out how to make a block/report feature. I am quite new at this and I was hoping someone could help me out if they already have a feature like that. Everything is done besides that, but I want the app to have it just incase. (If you could, I need both the block and the report code)


Thanks for reading, hope you can help!

Which part of this is causing you problems? The user interface, the networking, or something else?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Help code a block/report user feature in a chat app
 
 
Q