iOS5編程--新增控件stepper的使用

在iOS5中,新增了一個控件,stepper,這個控件的使用非常簡單 1.新建一個Single View Application,打開Viewcontroller.xib 2.在view上加入一個stepper控件 3.如下圖,設置相關屬性 stepper的Value是一個float型的 4.設置stepper的Value changed的實踐的響應函數,並實現如下: - (IBAction)St
相關文章
相關標籤/搜索