ALAssetsFilter Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AssetsLibrary.framework
Availability
Available in iOS 4.0 and later.
Declared in
ALAssetsFilter.h
Related sample code

Overview

ALAssetsFilter encapsulates filtering criteria to be used when retrieving assets from a group.

You use filters with the setAssetsFilter: method in ALAssetsGroup.

Tasks

Creating Filters

Class Methods

allAssets

Returns a filter that gets all assets in the assets group.

+ (ALAssetsFilter *)allAssets
Return Value

A filter that gets all assets in the assets group.

Availability
  • Available in iOS 4.0 and later.
Declared In
ALAssetsFilter.h

allPhotos

Returns a filter that gets all photos in the assets group.

+ (ALAssetsFilter *)allPhotos
Return Value

A filter that gets all photos in the assets group.

Availability
  • Available in iOS 4.0 and later.
Related Sample Code
Declared In
ALAssetsFilter.h

allVideos

Returns a filter that gets all videos in the assets group.

+ (ALAssetsFilter *)allVideos
Return Value

A filter that gets all videos in the assets group.

Availability
  • Available in iOS 4.0 and later.
Related Sample Code
Declared In
ALAssetsFilter.h