SJPrompt
使用
pod 'SJPrompt'
示例
self.prompt = [SJPrompt promptWithPresentView:self.view];
// update config
self.prompt.update(^(SJPromptConfig * _Nonnull config) {
config.font = [UIFont systemFontOfSize:12];
config.backgroundColor = [UIColor orangeColor];
config.insets = UIEdgeInsetsMake(8, 8, 8, 8);
config.maxWidth = 200;
});