I was just wondering, how many components can be added to a UIPickerView
?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Technically, NSObject inherited objects can hold up to NSUIntegerMax objects (this is the largest value that can be returned from count). On a 32-bit system like the iPhone, that is a little over 4 billion. On a 64-bit system like most Macs/iPhone5S, it is many orders of magnitude higher.
I suspect you will run out of RAM before you hit this CS limit.