image to be moved horizontally as the uislider is moved horizontally in ipad
i have taken a view based project.i placed a image on the viewcontroller's view and also a uislider on the same view.my requirement is as i move the uislider, the image should also move in the direction of the slider.for this i understood that if i change the xcordinate with the ratio of uislider's value my task is done. but i am not able to get the uiimageView or frame cordinates programmatically so that i can manipulate the xcoordinate in my code. can anyone help in this regard. plz answer me considering that i am new to programming.
thanks a lot in ad开发者_如何学JAVAvance dinakar
CGRect imageViewFrame = yourImageView.frame;
UIView docs. :d
精彩评论