ESoft
ESoft

Reputation: 862

Slice a UIView into multiple CALayers

How can I slice a UIView into multiple CAlayers in order to perform an animation on each slice separately?

Upvotes: 0

Views: 370

Answers (1)

Masa
Masa

Reputation: 3251

I don't konw what you are trying to do exactly, but you could render that view into an image (1), crop multiple images out of it (2) and perform your animations on them.

(1) Saving UIView contents in iOS 4 with real size of the images inside (i.e. scale contentes up for save)

(2) How use CGImageCreateWithImageInRect for iPhone 4 (HD)?

Upvotes: 2

Related Questions