2015-01-08から1日間の記事一覧
文字に枠を付けてくっきりさせます。 UILabelのカスタムクラスをつくってdrawTextInRectをオーバーライドします。 - (void)drawTextInRect:(CGRect)rect { CGSize shadowOffset = self.shadowOffset; UIColor *textColor = self.textColor; CGContextRef c =…
文字に枠を付けてくっきりさせます。 UILabelのカスタムクラスをつくってdrawTextInRectをオーバーライドします。 - (void)drawTextInRect:(CGRect)rect { CGSize shadowOffset = self.shadowOffset; UIColor *textColor = self.textColor; CGContextRef c =…