iOS style badges are overlayed atop the upper right part of the icon. It's usually red with white text.
When displayed inline on a button or next to a header or link, IMHO, the badge seems to take on another role. The use of red feels more dangerous, or that there is something negative that requires my attention. The icon badge, although red, does not.
Is there any real difference, design-wise, that makes these two types of badges different or am I seeing things?