这真的只是好奇,但是标签属性有最大值吗?我假设标签是一个 UINT,但我不确定。
最佳答案
“标签”属性是一个 NSInteger。来自 Apple 的 docs :
NSInteger Used to describe an integer.
typedef long NSInteger; Discussion When building 32-bit applications, NSInteger is a 32-bit integer. A 64-bit application treats NSInteger as a 64-bit integer.
最大尺寸是 NSIntegerMax
。去吧,将它打印到控制台。
https://stackoverflow.com/questions/18344686/