在iOS中可以将文本实现3D效果,方法是,不断的重复画文本的layer,创建有层次的效果:
我是创建UIImage Category,命名为UIImage+3d,更多详细的解决方案见http://ask.csdn.net/questions/781
.h文件:
//
// UIImage+3D.h
//
// Created by Lefteris Haritou on 12/10/12.
// Feel Free to use this code, but please keep the credits
//
#import <UIKit/UIKit.h>
@interface UIImage (Extensions)
+ (UII