I have to use SpaceGrotesk google font but does not have an italic style. This is the font https://fonts.google.com/specimen/Space+Grotesk . So my question is can i add it to an UILabel and change it to italic? Any help appreciated. Currently i am using it like this...
UIFont* nameLabelFont = [UIFont fontWithName:@"SpaceGrotesk-Bold" size:20];
self.nameLabel.font = nameLabelFont;
UPDATE
**
I used the following command from 2D graphics API and it actually works.
CGAffineTransform transfromFontToItalic = CGAffineTransformMake(1, 0, tanf(15 * (CGFloat)M_PI / 180), 1, 0, 0);
UIFontDescriptor * fontItalic = [UIFontDescriptor fontDescriptorWithName:@"SpaceGrotesk-Regular" matrix:transformFontToItalic];
self.usernameLabel.font = [UIFont fontWithDescriptor:fontD size:10];
**