Instance Method

releaseDrawables

Declaration

- (void)releaseDrawables;

Discussion

Your application calls this method to release the texture objects in order to conserve memory when the application goes into the background.

The drawable texture objects consume a large amount of memory, so call this method whenever the view is not going to be used to display content for a significant period of time.

See Also

Managing Your Render Target

autoResizeDrawable

A Boolean value that controls whether to resize the drawable as the view changes size.

drawableSize

The current size of drawable textures.

framebufferOnly

A Boolean value that determines whether the drawable can be used for texture sampling or read/write operations.

presentsWithTransaction

A Boolean value that determines whether the view presents its content using a Core Animation transaction.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software