{"action":"created","issue":{"url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/213","repository_url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl","labels_url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/213/comments","events_url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/213/events","html_url":"https://github.com/HeshamMegid/HMSegmentedControl/issues/213","id":173414106,"number":213,"title":"selected color","user":{"login":"pingcoco","id":17327432,"avatar_url":"https://avatars.githubusercontent.com/u/17327432?v=3","gravatar_id":"","url":"https://api.github.com/users/pingcoco","html_url":"https://github.com/pingcoco","followers_url":"https://api.github.com/users/pingcoco/followers","following_url":"https://api.github.com/users/pingcoco/following{/other_user}","gists_url":"https://api.github.com/users/pingcoco/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcoco/subscriptions","organizations_url":"https://api.github.com/users/pingcoco/orgs","repos_url":"https://api.github.com/users/pingcoco/repos","events_url":"https://api.github.com/users/pingcoco/events{/privacy}","received_events_url":"https://api.github.com/users/pingcoco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-26T09:51:29Z","updated_at":"2016-12-02T09:20:33Z","closed_at":"2016-11-04T15:51:33Z","body":"How to add color selected above, but not underscore that, to fill the entire background\n"},"comment":{"url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/comments/264409309","html_url":"https://github.com/HeshamMegid/HMSegmentedControl/issues/213#issuecomment-264409309","issue_url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/213","id":264409309,"user":{"login":"bksasuke","id":14750506,"avatar_url":"https://avatars.githubusercontent.com/u/14750506?v=3","gravatar_id":"","url":"https://api.github.com/users/bksasuke","html_url":"https://github.com/bksasuke","followers_url":"https://api.github.com/users/bksasuke/followers","following_url":"https://api.github.com/users/bksasuke/following{/other_user}","gists_url":"https://api.github.com/users/bksasuke/gists{/gist_id}","starred_url":"https://api.github.com/users/bksasuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bksasuke/subscriptions","organizations_url":"https://api.github.com/users/bksasuke/orgs","repos_url":"https://api.github.com/users/bksasuke/repos","events_url":"https://api.github.com/users/bksasuke/events{/privacy}","received_events_url":"https://api.github.com/users/bksasuke/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T09:20:33Z","updated_at":"2016-12-02T09:20:33Z","body":"it does not change the select cell background. Also the selectionIndicatorColor can be custom, but it mixed with the segment background and show a unwanted color.\r\n![screen shot 2016-12-02 at 4 18 51 pm](https://cloud.githubusercontent.com/assets/14750506/20828636/1428bff8-b8ab-11e6-9adf-6946dc5752c3.png)\r\nhere is my code, which desire a red color but it show a brown color instead.\r\n\r\nelf.segmentedControl4.backgroundColor = [UIColor blackColor];\r\n    self.segmentedControl4.titleTextAttributes = @{NSForegroundColorAttributeName : [UIColor whiteColor]};\r\n    self.segmentedControl4.selectedTitleTextAttributes = @{NSForegroundColorAttributeName : [UIColor whiteColor]};\r\n    self.segmentedControl4.selectionIndicatorColor = [UIColor redColor];\r\n    self.segmentedControl4.selectionStyle = HMSegmentedControlSelectionStyleBox;\r\n    self.segmentedControl4.selectionIndicatorLocation = HMSegmentedControlSelectionIndicatorLocationNone;\r\n    [self.segmentedControl4 setSelectionLayerColor:[UIColor redColor]];"}}
{"actor":{"display_login":"bksasuke"}}