单项选择题

下面代码的作用是让doSomeThing函数每隔1秒被调用1次。请问哪里有问题()

A.没有将timer加入runloop
B.doSomeThing缺少参数
C.忘记传递数据给userInfo
D.myTimer对象未通过[[myTimeralloc] init]方法初始化