2014-06-11 6 views

답변

7

당신이 이동 :

imageView.layer.shadowPath = UIBezierPath(rect:yourImageView.bounds).CGPath 
+1

Objective-C 이니셜 라이저 호출을 Swift로 변환하는 방법에 대한 일반적인 규칙은 [Swift를 Cocoa 및 Objective-C로 사용] ("https://developer.apple.com/library/prerelease/ios/documentation/Swift"의 "초기화"를 참조하십시오./Conceptual/BuildingCocoaApps/InteractingWithObj ective-CAPIs.html). –

+0

tkns man ... 잘 작동합니다! –

관련 문제