GameKit.framework
#import <GameKit/GameKit.h>
@interface ViewController :UIViewController<GKPeerPickerControllerDelegate,GKSessionDelegate>
@property (strong,nonatomic) GKSession* currentSession;
@property (strong,nonatomic) GKPeerPickerController* picker;
AVFoundation.framework 音频播放
#import <AVFoundation/AVFoundation.h>
@property (nonatomic,retain)AVAudioPlayer *player;
MediaPlayer.framework 视频播放 ,
#import <MediaPlayer/MediaPlayer.h>
@property (strong,nonatomic)MPMoviePlayerViewController *m_pMoviePlayerC;
ASIHttpRequest ()//ASIHttpLib
封装CFNetwork
API,适用于HTTP请求,和基于REST的服务之间的交互。
#import "ASIHTTPRequest.h"
@interface ViewController :UIViewController<ASIHTTPRequestDelegate,NSXMLParserDelegate>
-(IBAction)btnTestGet:(id)sender;
-(IBAction)btnTestPost:(id)sender;
验证码:文字转换到图片上显示
iOS游戏与多媒体开发
本文介绍iOS平台下使用GameKit进行多人游戏连接管理、利用AVFoundation及MediaPlayer框架实现音频与视频播放的方法,并简述了使用ASIHttpRequest进行网络请求的具体实现。

被折叠的 条评论
为什么被折叠?



