&tag(UIImageView);
*目次 [#x64a47aa]
#contents
*参考情報 [#ye8eb5f6]

*Tips [#aee1fc1f]
**角を丸める [#z296889d]
[[UIImage rounded corners - Stack Overflow:http://stackoverflow.com/questions/262156/uiimage-rounded-corners]]より
#pre{{
//ヘッダのインクルードが必要
#import <QuartzCore/QuartzCore.h>

//角を丸める
imageView.layer.cornerRadius = 5.0;
imageView.layer.masksToBounds = YES;
//ボーダーをつける
imageView.layer.borderColor = [UIColor lightGrayColor].CGColor;
imageView.layer.borderWidth = 1.0;
}}


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS