Is objectAtIndexedSubscript available in IOS5?

前端 未结 4 1615
慢半拍i
慢半拍i 2021-01-03 09:25

The documentation says it\'s available in MacOS 1.08.

So what\'s the story? What about for iOS5?

It\'s a very important selector because self[5] will actuall

4条回答
  •  死守一世寂寞
    2021-01-03 09:52

    No, only since iOS 6 unfortunately.

    Apple has separate documentations for the OS X and the iOS APIs. You have to check the right one: objectAtIndexedSubscript:.

    Availability
    Available in iOS 6.0 and later.

提交回复
热议问题