UIImage convinient creations methods.
More...
#import <UIImage.h>
UIImage convinient creations methods.
+ (instancetype) imageWithContentsOfURL: |
|
(NSURL *) |
URL |
|
Returns an image object containing the data from the location specified by a given URL.
- Parameters
-
URL | The URL from which to read data. |
- Returns
- An UIImage object containing the data from the location specified by URL. The returned object might be different than the original receiver.
- See also
- + imageWithContentsOfURL:cachePolicy:
Returns an image object containing the data from the location specified by a given URL.
- Parameters
-
URL | The URL from which to read data. |
cachePolicy | URL cache policy for the image data. |
- Returns
- An UIImage object containing the data from the location specified by URL. The returned object might be different than the original receiver.
- See also
- + imageWithContentsOfURL:
+ (instancetype) imageWithContentsOfURLRequest: |
|
(NSURLRequest *) |
request |
|
Returns an image object containing the data from the given URL request.
- Parameters
-
request | The URL request from which to read data. |
- Returns
- An UIImage object containing the data from the request specified by request. The returned object might be different than the original receiver.
- (instancetype) initWithContentsOfURL: |
|
(NSURL *) |
URL |
|
Initializes a newly allocated image object initialized with the data from the location specified by URL.
- Parameters
-
URL | The URL from which to read data. |
- Returns
- An UIImage object initialized with the data from the location specified by URL. The returned object might be different than the original receiver.
- See also
- - initWithContentsOfURL:cachePolicy:
Initializes a newly allocated image object initialized with the data from the location specified by URL.
- Parameters
-
URL | The URL from which to read data. |
cachePolicy | URL cache policy for the image data. |
- Returns
- An UIImage object initialized with the data from the location specified by URL. The returned object might be different than the original receiver.
- See also
- - initWithContentsOfURL:
- (instancetype) initWithContentsOfURLRequest: |
|
(NSURLRequest *) |
request |
|
Initializes a newly allocated image object initialized with the data the given URL request.
- Parameters
-
request | The URL request from which to read data. |
- Returns
- An UIImage object initialized with the data from the request specified by request. The returned object might be different than the original receiver.
The documentation for this category was generated from the following file: