We have procedures in place and train for exactly such an event either in the cockpit or the cabin.
That's good. We have no such procedure for an iPad catching fire in the flight deck.
What does your procedure involve? Do you have fire resistant gloves on the flight deck?
( serious question)