Is there an API for blue email addresses?

Is there an API that will allow me to easily reproduce the blue circular bubbles of email addresses? You see these bubbles in Mail on MacOS and on iPhone.

Thanks!

+5
source share
3 answers

To get a rounded shortcut, simply include QuartzCore-Framework in your project and add it to your .m file:

#import <QuartzCore/QuartzCore.h>

Then create a regular one UILabel *label. Set the font, textColor, backgroundColor as you like, and then add rounded corners:

label.layer.cornerRadius = label.frame.size.height/2;
+7
source

Yes. Use the NSTokenField class .

+5
source
+4
source

All Articles