That is not a dev thing. At least not a good dev thing. That is a shady business person thing, possibly holding devs to ransom with “I know you don't like it, you can always leave if you dislike it enough and I'll get someone else to implement”.
Of course it is possible to be both a dev and a shady business person, but away from one-man-band entrepreneurs people don't usually have the desire not the time to excel at both.
Keep in mind that the overwhelming majority of software that people interact with is coming from developers that are businesses.
/s
Meanwhile...
https://developer.apple.com/app-store/review/guidelines/#cod...
> Apps should never prey on users or attempt to rip off customers, trick them into making unwanted purchases, ... or engage in any other manipulative practices within or outside of the app.