| Framework | UIKit/UIKit.h |
| Declared in | UIDataDetectors.h UIGeometry.h UIInterface.h |
The UIKit framework defines data types that are used in multiple places throughout the framework.
Defines the stylistic appearance of different types of views.
typedef enum {
UIBarStyleDefault = 0,
UIBarStyleBlack = 1,
UIBarStyleBlackOpaque = 1, // Deprecated
UIBarStyleBlackTranslucent = 2, // Deprecated
} UIBarStyle;
UIBarStyleDefaultUse the default style normally associated with the given view. For example, search bars and tool bars typically use a blue gradient background.
Available in iPhone OS 2.0 and later.
Declared in UIInterface.h.
UIBarStyleBlackUse an opaque black style.
Available in iPhone OS 3.0 and later.
Declared in UIInterface.h.
UIBarStyleBlackOpaqueDeprecated. Use UIBarStyleBlack instead.
Available in iPhone OS 2.0 and later.
Declared in UIInterface.h.
UIBarStyleBlackTranslucentDeprecated. Use UIBarStyleBlack and set the translucent property to YES instead.
Available in iPhone OS 2.0 and later.
Declared in UIInterface.h.
UIInterface.hDefines the types of information that can be detected in text-based content.
enum {
UIDataDetectorTypePhoneNumber = 1 << 0,
UIDataDetectorTypeLink = 1 << 1,
UIDataDetectorTypeNone = 0,
UIDataDetectorTypeAll = NSUIntegerMax
};
typedef NSUInteger UIDataDetectorTypes;
UIDataDetectorTypePhoneNumberDetect strings formatted as phone numbers.
Available in iPhone OS 3.0 and later.
Declared in UIDataDetectors.h.
UIDataDetectorTypeLinkDetect strings formatted as URLs.
Available in iPhone OS 3.0 and later.
Declared in UIDataDetectors.h.
UIDataDetectorTypeNoneDo no data detection.
Available in iPhone OS 3.0 and later.
Declared in UIDataDetectors.h.
UIDataDetectorTypeAllDetect all available types of data.
Available in iPhone OS 3.0 and later.
Declared in UIDataDetectors.h.
UIDataDetectors.hDefines inset distances for views.
typedef struct {
CGFloat top, left, bottom, right;
} UIEdgeInsets;
Edge inset values are applied to a rectangle to shrink or expand the area represented by that rectangle. Typically, edge insets are used during view layout to modify the view’s frame. Positive values cause the frame to be inset (or shrunk) by the specified amount. Negative values cause the frame to be outset (or expanded) by the specified amount.
UIGeometry.hLast updated: 2009-02-17