我正在调整我的应用以适应iOS 7,当我阅读文档时,在此链接的popoverArrowDirection下面,我读到了这行话:
"(已弃用。在iOS 7及以后版本中,弹出窗口不再使用箭头。)"
这很奇怪,因为我的popover在iOS 7中仍然有箭头。我是不是理解错了?
"(已弃用。在iOS 7及以后版本中,弹出窗口不再使用箭头。)"
这很奇怪,因为我的popover在iOS 7中仍然有箭头。我是不是理解错了?
/* Returns the direction the arrow is pointing on a presented popover. Before
presentation, this returns UIPopoverArrowDirectionUnknown.
*/
@property (nonatomic, readonly) UIPopoverArrowDirection popoverArrowDirection;
-[NSString sizeWithFont:constrainedToSize:]
方法:- (CGSize)sizeWithFont:(UIFont *)font constrainedToSize:(CGSize)size NS_DEPRECATED_IOS(2_0, 7_0, "Use -boundingRectWithSize:options:attributes:context:");