Daily iOS
UIKitGoogle

Pinning four corners with constraints

Live coding. Given an [UIImage], how would you build a custom UIView that pins one image to each of its four corners using only constraints in code?

final class CornerImagesView: UIView {
    init(images: [UIImage]) { /* ... */ }
}

Submit