2011-12-22 77 views

回答

1

为的UIImageView很喜欢的东西: -

[imageView.layer setBorderColor: [[UIColor blackColor] CGColor]]; 
[imageView.layer setBorderWidth: 2.0]; 

希望工程上AQGridView ...

干杯

+0

也参考这篇文章http://stackoverflow.com/questions/1354811/how-can-i-take-an-uiimage-and-give-it-a-black-border – Tornado 2011-12-22 13:34:56

+0

它适用于gridView。但我们需要为AQGridView中的每个图像应用边框。感谢您的回答, – Jasmine 2011-12-22 14:09:45

1

你也可以把你的AQGridView在更大的UIImageView这是空的,但背景设置为黑色。

相关问题