简体   繁体   中英

Rotating Images Like UIPicker VIew

HI, I am new to iPhone especially the Graphics part, I want to develop a Image Rotators just like the UIPickerView. but with my own custom design, It will look like something like the Casino Slot Machine, Can anybody guide me to some resources to do the Task in hand.

The UIPickerView allows for custom images to be used in the delegate. You can create your own custom UIView and add an image to it. Look at the documentation.

  • (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view

为了总体上能够旋转视图,您应该看一下转换,这是在Apple网站上进行转换的指南http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_affine /dq_affine.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM