When they were found in the US to have a monopoly, they had around 95% of personal computer operating system share. Apple isn’t even close.
For iPhone apps Apple is way behind with about 0.005% of the total 2.17 million iPhone apps.
I.e. the monopoly question is: if apple takes X% for each app in this market, and a competitor can't take less, then it's a monopoly.