I have created a function on passing this one uiimageview parameter on the timer ... but when I call this function in NStimer call Do I get a syntax error as shown below ?? Is there any other way around this ?? [NSTimer Scheduled Timer With Time Interval: 0.05 Target: Self Selector: @selector (onTimer: image) userInfo: Zero repeats: Yes];
Pass your image through the userInfo
.
@ Using selector (ontimer: image :)
will not help you because you can not specify why it should be in the second parameter.
Comments
Post a Comment