I think Apple catches a lot of flak here for their practices, but they have a very strong, vocal fanboy community that MS has never had, and probably can never hope to have.
Many Apple (especially iOS) developers seem to be just generally frustrated about the platform, but suck it up and deal with it because they have to if they want to be in the App Store.
Additionally, I don't think Apple has been anywhere near as fervent as Microsoft about embracing open source. Sure, Darwin (a fairly tiny part of macOS/iOS) is open source, but Apple seems to only grudgingly embrace and use open source components when it suits their purposes. Consider how they've been shipping a super-old version of bash because they're paranoid about GPLv3, how they've been heavily involved in LLVM and clang (at least in part for licensing reasons), and how they barely mention anymore that WebKit is based on KHTML. And it's a safe bet that if KHTML hadn't been more permissively-licensed, Apple would have happily kept WebKit closed.