Components

Shadow Card(iOS)

A control that's a empty box with a shadow.

Summary

This control is a UIView with a default appearance and a highlighted appearance.

Default

let shadowCard = ShadowCard()

Highlighted

shadowCard.isHighlighted = true

It’s also possible to provide a custom shadow image.

let shadowCard = ShadowCard(shadowImage: UIImage(named: "funky-shadow"))
Was this page helpful?

We use this feedback to improve the quality of our documentation.