Contents

drawFooterForPage(at:in:)

Draws the footer of a page.

Declaration

func drawFooterForPage(at pageIndex: Int, in footerRect: CGRect)

Parameters

  • pageIndex:

    The index of the page on which to draw the footer content.

  • footerRect:

    The rectangle in which to draw the footer content. This rectangle uses the coordinate system of the paper rectangle (Paperrect), with the origin of the coordinates at the top-left corner of the sheet.

Discussion

The default implementation of this method does nothing. The system doesn’t call this method if footerHeight isn’t a positive value. Override this method to draw the footer of the specified page.

The system configures this method for drawing to the current graphics context according to UIGraphicsGetCurrentContext().

See Also

Drawing a page