use snapshotView in GKit