hey guys. i have an UIScrollView and inside of it i created buttons programmatically and added an UIView(green view) in storyboard. my problem is when a button is tapped then the UIView(green view) will move under of that button and other buttons will move down. UIview's height changes according to the button that user taps. but i couldnt make a logic. can u help me about that ? i uploaded how my scrollview looks.
20.4 KB Views: 177