{"action":"opened","issue":{"url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/150","labels_url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/150/comments","events_url":"https://api.github.com/repos/HeshamMegid/HMSegmentedControl/issues/150/events","html_url":"https://github.com/HeshamMegid/HMSegmentedControl/issues/150","id":111654138,"number":150,"title":"How to only scroll the Segmented Control horizontally, without the content below it","user":{"login":"radhap","id":1706699,"avatar_url":"https://avatars.githubusercontent.com/u/1706699?v=3","gravatar_id":"","url":"https://api.github.com/users/radhap","html_url":"https://github.com/radhap","followers_url":"https://api.github.com/users/radhap/followers","following_url":"https://api.github.com/users/radhap/following{/other_user}","gists_url":"https://api.github.com/users/radhap/gists{/gist_id}","starred_url":"https://api.github.com/users/radhap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radhap/subscriptions","organizations_url":"https://api.github.com/users/radhap/orgs","repos_url":"https://api.github.com/users/radhap/repos","events_url":"https://api.github.com/users/radhap/events{/privacy}","received_events_url":"https://api.github.com/users/radhap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T16:22:16Z","updated_at":"2015-10-15T16:22:16Z","closed_at":null,"body":"I have HMSegmentedControl in a view that has a collectionView(which already has vertical scrolling enabled). I want to scroll the HMSegmentedControl horizontally and get the correct setSelectedSegmentIndex and based on that refresh the content of the collectionView. \r\n\r\nAnyway to do this?\r\n\r\nI see if I publicly expose the HMScrollView and set the delegate to my viewController then I know I can make it work.. But want to know if there is any other way, without changing the HMSegmentedControl code."}}