Former President Obama says that if Republicans were truly concerned about the security risks posed by former Secretary of State Hillary ClintonHillary Diane Rodham ClintonGraham: McCain 'acted appropriately' by handing Steele dossier to FBI Why Mueller's hedge on obstruction decision was a mistake Giuliani says news media treat Dems better than GOP MORE's private email server, "they'd be up in arms" over reports that President TrumpDonald John TrumpTrump: 'Haven't thought about' pardons for Mueller target Pence: Rocket attack 'proves that Hamas is not a partner for peace' Conservation remains a core conservative principle MORE is still using unsecured iPhones.

“In the last election it was Hillary’s emails. ‘This is terrible.’ ‘Hillary’s emails!’ We were hearing Hillary’s emails everywhere,” Obama said Friday at a campaign rally in Milwaukee.

"They didn't care about emails. And you know how you know? Because if they did, they'd be up in arms right now as the Chinese are listening to the president's iPhone that he leaves in his golf cart,” he continued. “It turns out, I guess it wasn't that important.”

ADVERTISEMENT

The New York Times reported Wednesday that Russia and China are eavesdropping on Trump’s personal phone, which he still uses despite repeated requests from national security officials that he stick to more secured landlines.

A day later, NBC News reported that officials are increasingly concerned that Trump is using unsecured cellphones to discuss sensitive matters with informal advisers.

Trump pushed back against the Times's report on Thursday, calling it “soooo wrong” in a tweet.

Obama made his remarks while headlining a campaign rally for Wisconsin state Superintendent Tony Evers, who is running to unseat Republican Gov. Scott Walker, and Democratic Sen. Tammy BaldwinTammy Suzanne BaldwinTrump mounts Rust Belt defense On The Money: Trump issues emergency order grounding Boeing 737 Max jets | Senate talks over emergency resolution collapse | Progressives seek defense freeze in budget talks Dems offer bill to end tax break for investment-fund managers MORE, who faces GOP challenger Leah Vukmir.