摘要:
apple中文文档http://www.apple.com.cn/developer/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/GraphicsandDrawing/GraphicsandDrawing.html"避免在滚动过程中清除原先的内容缺省情况下,在调用drawRect:方法对视图的某个区域进行更新之前,UIKit会清除该区域对应的上下文缓冲区。如果您对视图的滚动事件进行响应,则在滚动过程中反复清除缓冲区的开销是很大的。为了禁止这种行为,可以将clearsContextBef 阅读全文
摘要:
使用的是GameKit的框架遵循协议:<GKPeerPickerControllerDelegate,GKSessionDelegate>@property (strong, nonatomic) GKSession *currentSession;@property (strong, nonatomic) GKPeerPickerController *picker;连接时 picker =[[GKPeerPickerController alloc] init]; picker.delegate = self; picker.connectionTypesMask = G... 阅读全文