开发者

Call an IBAction

开发者 https://www.devze.com 2023-01-11 18:22 出处:网络
Can i call a IBaction from this - (void)runScheduledTask { } i wish to call this IBAction: (IBAction)GetSms 开发者_开发问答{

Can i call a IBaction from this

- (void)runScheduledTask {

}

i wish to call this IBAction:

}


Yes.

- (void) runScheduledTask {
   [self GetSms];
}

IBAction is the equivalent of void and is only used as an identifier by Interface Builder.

0

精彩评论

暂无评论...
验证码 换一张
取 消