最終更新:2017-02-23 (木) 14:07:53 (2618d)
UIImageRenderingMode
Top / UIImageRenderingMode
メモ
- テンプレートモードにするとナビゲーションバー、タブバー、ツールバー、セグメント化コントロールなどに含まれるコンテンツが塗りtintColorでつぶされる
モード
UIImageRenderingModeAutomatic? | Use the default rendering mode for the context where the image is used. |
UIImageRenderingModeAlwaysOriginal? | Always draw the original image, without treating it as a template. |
UIImageRenderingModeAlwaysTemplate | Always draw the image as a template image, ignoring its color information. |
UIImage
- imageWithRenderingMode?
iOS 7
- UIImageにUIImageRenderingModeというプロパティが追加