When to use a colon with a @selector

前端 未结 6 1231
傲寒
傲寒 2020-12-03 04:10

Just getting going with iPhone development and Objective-C.

Yesterday I was trying to addObserver for a notification in a view of mine, and I kept getti

6条回答
  •  天命终不由人
    2020-12-03 04:30

    I think the problem is the missing parameter.

    See this post: Objective-C: Calling selectors with multiple arguments (Great answers!)

提交回复
热议问题