The hearing lasted for hours and apparently McCain just couldn't help himself: he started playing poker on his iPhone. From the Washington Post (you can see the photo here):
As the hearing continues, our ace photographer Melina Mara reports she spotted Sen. John McCain (R-Ariz.) “passing the time by playing poker on his iPhone during the hearing.”I mean, it's just a quick missile strike right? Who cares about the details.
Scandal! Caught playing iPhone game at 3+ hour Senate hearing - worst of all I lost!
— John McCain (@SenJohnMcCain) September 3, 2013