UIDevice(Extensions) Category Reference

Declared in UIDevice+Extensions.h

Overview

UIDevice extension methods.

– systemVersionIsEqualTo:

Determines whether or not the system version is equal to the version given.

- (BOOL)systemVersionIsEqualTo:(nonnull NSString *)systemVersion

Parameters

systemVersion

The version to compare to the actual system version.

Return Value

Whether or not the system version is equal to the version given.

Declared In

UIDevice+Extensions.h

– systemVersionIsGreaterThan:

Determines whether or not the system version is greater than the version given.

- (BOOL)systemVersionIsGreaterThan:(nonnull NSString *)systemVersion

Parameters

systemVersion

The version to compare to the actual system version.

Return Value

Whether or not the system version is greater than the version given.

Declared In

UIDevice+Extensions.h

– systemVersionIsGreaterThanOrEqualTo:

Determines whether or not the system version is greater than or equal to the version given.

- (BOOL)systemVersionIsGreaterThanOrEqualTo:(nonnull NSString *)systemVersion

Parameters

systemVersion

The version to compare to the actual system version.

Return Value

Whether or not the system version is greater than or equal to the version given.

Declared In

UIDevice+Extensions.h

– systemVersionIsLessThan:

Determines whether or not the system version is less than the version given.

- (BOOL)systemVersionIsLessThan:(nonnull NSString *)systemVersion

Parameters

systemVersion

The version to compare to the actual system version.

Return Value

Whether or not the system version is less than the version given.

Declared In

UIDevice+Extensions.h

– systemVersionIsLessThanOrEqualTo:

Determines whether or not the system version is less than or equal to the version given.

- (BOOL)systemVersionIsLessThanOrEqualTo:(nonnull NSString *)systemVersion

Parameters

systemVersion

The version to compare to the actual system version.

Return Value

Whether or not the system version is less than or equal to the version given.

Declared In

UIDevice+Extensions.h

+ vibrate

Make the device vibrate (if it is possible).

+ (void)vibrate

Declared In

UIDevice+Extensions.h

– keyboardClickSound

Make the device emit the keyboard click sound (if it is possible).

- (void)keyboardClickSound

Declared In

UIDevice+Extensions.h