You need to be stricter. Take away his iPad from him if he is not ready to listen to you. Tell him till the time you both reach a consensus or he listens to you calmly you are not going to give his iPad back.
Sometimes parents need to be strict and show the kids who the parents are! This is for their benefit. He might cry, throw tantrums but don't give in.
Tell him you are ready to have a dialogue with him when he is calm and ready to cooperate.
Read more