{"_id":"5a5f576e4c2bf5003a6a0ba9","category":{"_id":"5a5f576e4c2bf5003a6a0b9f","version":"5a5f576e4c2bf5003a6a0b9d","project":"56e6e8b9cec7530e006a7133","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-14T20:46:33.424Z","from_sync":false,"order":1,"slug":"class-reference","title":"BuzzSDK Class Reference"},"project":"56e6e8b9cec7530e006a7133","user":"56e6d120f3b12a3200df21ba","parentDoc":null,"version":{"_id":"5a5f576e4c2bf5003a6a0b9d","project":"56e6e8b9cec7530e006a7133","__v":1,"createdAt":"2018-01-17T14:02:22.237Z","releaseDate":"2018-01-17T14:02:22.237Z","categories":["5a5f576e4c2bf5003a6a0b9e","5a5f576e4c2bf5003a6a0b9f","5a5f576e4c2bf5003a6a0ba0"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.3.0","version":"2.3.0"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-08-02T14:03:15.414Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":8,"body":"Will hide the _BuzzSDK_ UI (if presented) from the user. UI can be brought back on top of the host app UI by calling [`presentDeck`](doc:presentdeck)  again. If the UI is hidden when the app is sent to the background, the _BuzzSDK_ will be dismissed and calling [`presentDeck`](doc:presentdeck) will start a new _BuzzSDK_ Session.\nSimilarly, calling `hideDeck` before the _BuzzSDK_ UI is set (i.e. while on [`BuzzSDKStateNone`](doc:buzzsdkstatehaschanged) or [`BuzzSDKStatePrepared`](doc:buzzsdkstatehaschanged) state) will terminate the _BuzzSDK_ session and calling [`presentDeck`](doc:presentdeck) will start a new _BuzzSDK_ Session.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"+ (void)hideDeck;\",\n      \"language\": \"objectivec\"\n    },\n    {\n      \"code\": \"class func hideDeck()\",\n      \"language\": \"swift\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"hidedeck","type":"basic","title":"hideDeck"}
Will hide the _BuzzSDK_ UI (if presented) from the user. UI can be brought back on top of the host app UI by calling [`presentDeck`](doc:presentdeck) again. If the UI is hidden when the app is sent to the background, the _BuzzSDK_ will be dismissed and calling [`presentDeck`](doc:presentdeck) will start a new _BuzzSDK_ Session. Similarly, calling `hideDeck` before the _BuzzSDK_ UI is set (i.e. while on [`BuzzSDKStateNone`](doc:buzzsdkstatehaschanged) or [`BuzzSDKStatePrepared`](doc:buzzsdkstatehaschanged) state) will terminate the _BuzzSDK_ session and calling [`presentDeck`](doc:presentdeck) will start a new _BuzzSDK_ Session. [block:code] { "codes": [ { "code": "+ (void)hideDeck;", "language": "objectivec" }, { "code": "class func hideDeck()", "language": "swift" } ] } [/block]