Fonts customization
To add custom fonts, Your project needs to have these font files, otherwise, SDK will use default Lato
fonts:
For example to add regularFont
& boldFont
use the code snippet below:
MetaMap.shared.showMetaMapFlow(clientId: "YOUR_CLIENT_ID",
flowId: "YOUR_FLOW_ID",
metadata: ["regularFont": "REGULAR_FONT_NAME.ttf", "boldFont": "BOLD_FONT_NAME.ttf"])
MetaMap.shared.showMetaMapFlow(clientId: "YOUR_CLIENT_ID",
flowId: "YOUR_FLOW_ID",
metadata: ["regularFont": "REGULAR_FONT_NAME.ttf", "boldFont": "BOLD_FONT_NAME.ttf"])
[MetaMap.shared showMetaMapFlowWithClientId:@"YOUR_CLIENT_ID"
flowId:@"YOUR_FLOW_ID"
metadata:@{@"regularFont":@"REGULAR_FONT_NAME.ttf", @"boldFont":@"BOLD_FONT_NAME.ttf"}];
Updated 10 months ago