Of all the computers, laptops, smartphones and tablets (or, as IDC calls them, smart connected devices) that were shipped in the last quarter of 2012, Apple accounted for 20.3 per cent - just under one per cent behind Samsung's 21.2 per cent.
Shipping devices isn't exactly the same thing as actually selling them though - it just means that the manufacturers got the products to the companies that would then sell them to the man on the street.
Samsung's only significant release in that timeframe was the Galaxy Note 2 - but with the Galaxy S4 on its way in April, there's a chance that the gap will widen out again before the iPhone 5S hits later this year.
In general, there were more shipments of 'smart connected devices' in 2012 than ever before - up 29.1 per cent compared to the previous year.
The growth is mainly down to the popularity of tablets as the big tech firms shifted 78 per cent more tablets in 2012 than in 2011.
The analysts at IDC don't see the rise of the tablet slowing; the company says that tablets will surpass the ailing desktop PC this year, and even overtake laptops in 2014.
Get daily insight, inspiration and deals in your inbox
Get the hottest deals available in your inbox plus news, reviews, opinion, analysis and more from the TechRadar team.
Former UK News Editor for TechRadar, it was a perpetual challenge among the TechRadar staff to send Kate (Twitter, Google+) a link to something interesting on the internet that she hasn't already seen. As TechRadar's News Editor (UK), she was constantly on the hunt for top news and intriguing stories to feed your gadget lust. Kate now enjoys life as a renowned music critic – her words can be found in the i Paper, Guardian, GQ, Metro, Evening Standard and Time Out, and she's also the author of 'Amy Winehouse', a biography of the soul star.