Depends on the pub. Where we play there is a gentlemen’s agreement that no one uses phones to help them answer questions
I have this business idea for a pub in a faraday cage that would make cheating impossible for pub trivia (added bonus: also removes any other reason for anyone to be on their phones!)