Quantcast
Channel: snippet Feed
Viewing all articles
Browse latest Browse all 29

How to load image from PhotoGallery into a CCSprite?

$
0
0

Sinppet

The Asset Library is used here, so add import.

#import "AssetsLibrary/AssetsLibrary.h"

 

  CCSprite *playPhoto;

  CCLOG(@"Photo %@",dataManager.playerPhoto);

// check if the URL is an asset URL from the Photo Gallery.


Viewing all articles
Browse latest Browse all 29

Trending Articles