我有点麻烦。。。
如何将这段代码转换为Swift:
imageView.layer.shadowPath = [UIBezierPath bezierPathWithRect:yourImageView.bounds].CGPath;
最佳答案
干得好:
imageView.layer.shadowPath = UIBezierPath(rect:yourImageView.bounds).CGPath
关于swift - 我如何获得界限UIImageView Swift,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/24165047/