From IDC:
"Samsung retained its number one position in the worldwide smartphone market with a 22.8% share in 2016Q2. This retention of position comes in the midst of a YoY growth of 7.7%. This is largely attributed to the success of the new Galaxy S7 and Galaxy S7 Edge flagship devices."
"Apple shipped a total of 40.4 million units, which is a 15% decline year on year from 2015Q2. The new iPhone SE did well in both emerging and developed markets. The iPhone 6s was its best-selling device globally, followed by the SE and 6s Plus."
Comparing all iPhones to just Samsungs Galaxy and Note series is not fair. Apple hangs onto their older devices and the iPhone SE doesn't fall into the same category.
But in the end, it doesnt matter for us consumers
Competition ftw.