How do I use Apple's San Francisco typeface on iOS?

I want to use several fonts from Apple’s San Francisco typeface.
I’m using Simulator Version 10.1.
I get a default font when using this code:

int font_height = 16;
int font_style = Font::FontStyleFlags::plain;

Font font("SF Compact Display Regular", font_height, font_style);

g.setFont(font);
g.drawSingleLineText("This is text!", 100, 100);

I used BinaryBuilder for the font and now it seems to be working fine.