摘要:
//模拟windows下 GetTickCount ////#import<mach/mach_time.h>+ (int)mxGetTickCount;{ int timeTick; mach_timebase_info_data_t info; uint64_t machineTime; mach_timebase_info(&info); machineTime =mach_absolute_time(); timeTick = machineTime * info.numer / info.denom /1000000LL; return timeTick;}// 阅读全文
posted @ 2013-03-16 14:29
李伯波
阅读(1489)
评论(0)
推荐(0)
摘要:
方法一:添加AudioToolbox.frameworkAppdelegate.m中,添加头文件#include在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions方法中添加 AudioSessionInitialize(NULL, NULL, NULL, NULL); AudioSessionSetActive(true); AudioSessionAddPropertyListener(kAudioSessionPrope.. 阅读全文
posted @ 2013-03-16 14:09
李伯波
阅读(244)
评论(0)
推荐(0)

浙公网安备 33010602011771号