For months previously, Uber had been employing a tactic known as ‘fingerprinting’, where a piece of code was used to identify iPhones even after the Uber app had been deleted, allowing the company to monitor the phone and tell when the app had been reinstalled.

The company justified this as a common anti-fraud measure to prevent “bad actors” from reinstalling the app after previously being banned.

But the tactic violated Apple’s privacy guidelines, and Kalanick even instructed Uber employees to camouflage the app from Apple employees to prevent them finding out – using a similar method to its highly controversial ‘greyball’ technique used to avoid local law enforcement officers around the world.

But Apple did eventually discover Uber’s dodgy tactics, leading Cook to summon Kalanick to the company’s headquarters in California in early 2015 for a tense meeting, the NYT reports.

“So, I’ve heard you’ve been breaking some of our rules,” Cook reportedly told Kalanick, before threatening to remove Uber from the App Store.

This would have virtually crippled Uber’s business, so Kalanick backed down and changed its operations to bring them into line with Apple’s guidelines.

It’s yet another example of Kalanick’s -- and Uber’s in general -- ‘beg for forgiveness rather than ask for permission’ approach to business, seen through its constant tension with local law enforcement agencies.

The latest revelations continue Uber’s atrocious start to 2017, which began with the #DeleteUber campaign following Kalanick’s role in US President Donald Trump’s tech advisory council.