---
title: display()
framework: glkit
role: symbol
role_heading: Instance Method
path: glkit/glkview/display()
---

# display()

Redraws the view’s contents immediately.

## Declaration

```swift
func display()
```

## Discussion

Discussion This method causes your drawing method to be called immediately and then presents the rendered image to the screen. Your application typically calls this method inside of a rendering loop, such as the one provided by the GLKViewController class, in order to provide a continuous smooth animation. Never call this method inside your drawing function.

## See Also

### Drawing Your View’s Contents

- [context](glkit/glkview/context.md)
- [bindDrawable()](glkit/glkview/binddrawable().md)
- [enableSetNeedsDisplay](glkit/glkview/enablesetneedsdisplay.md)
- [snapshot](glkit/glkview/snapshot.md)
