{"action":"opened","issue":{"url":"https://api.github.com/repos/kevin0571/STPopup/issues/62","repository_url":"https://api.github.com/repos/kevin0571/STPopup","labels_url":"https://api.github.com/repos/kevin0571/STPopup/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/kevin0571/STPopup/issues/62/comments","events_url":"https://api.github.com/repos/kevin0571/STPopup/issues/62/events","html_url":"https://github.com/kevin0571/STPopup/issues/62","id":151380053,"number":62,"title":"considering in-call status bar frame changes","user":{"login":"hardikdevios","id":6657591,"avatar_url":"https://avatars.githubusercontent.com/u/6657591?v=3","gravatar_id":"","url":"https://api.github.com/users/hardikdevios","html_url":"https://github.com/hardikdevios","followers_url":"https://api.github.com/users/hardikdevios/followers","following_url":"https://api.github.com/users/hardikdevios/following{/other_user}","gists_url":"https://api.github.com/users/hardikdevios/gists{/gist_id}","starred_url":"https://api.github.com/users/hardikdevios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hardikdevios/subscriptions","organizations_url":"https://api.github.com/users/hardikdevios/orgs","repos_url":"https://api.github.com/users/hardikdevios/repos","events_url":"https://api.github.com/users/hardikdevios/events{/privacy}","received_events_url":"https://api.github.com/users/hardikdevios/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-27T13:05:56Z","updated_at":"2016-04-27T13:05:56Z","closed_at":null,"body":"**First of all Great Lib and now it will be a part of my default Pods**\r\n\r\nAll things are great just one thing and it might not be an issue with Lib because i have not explore the lib that much.\r\n\r\n# Issue or suggestion\r\n**considering in-call status bar frame changes**\r\n\r\nNow i am setting the height of `contentSizeInPopup` in this way and it works awesome with dynamic height\r\n\r\n```\r\noverride func viewDidLoad() {\r\n        super.viewDidLoad()\r\n        self.tableView.addObserver(self, forKeyPath: \"contentSize\", options: NSKeyValueObservingOptions.New, context: nil)\r\n        self.contentSizeInPopup = CGSizeMake(UIScreen().bounds.width, self.tableView.contentSize.height ?? 200)\r\n\r\n  }\r\n\r\n    override func observeValueForKeyPath(keyPath: String?, ofObject object: AnyObject?, change: [String : AnyObject]?, context: UnsafeMutablePointer<Void>) {\r\n        guard let _ = self.tableView else {\r\n            return\r\n        }\r\n        self.contentSizeInPopup = CGSizeMake(UIScreen().bounds.width, self.tableView.contentSize.height ?? 200)\r\n\r\n    } \r\n```\r\nBut during the in-call status bar where the size of status bar increased with 40px, At that time popup got shifts down with 20px and was not able to scroll to the bottom of the last cell. so what is the better way to handle this ? any help, Thanks in advanced.\r\n"}}