2008-10-30から1日間の記事一覧
iDevGames Forums 使い方 GBMusicTrack *song = [[GBMusicTrack alloc] initWithPath:[[NSBundle mainBundle] pathForResource:@"BackgroundMusic" ofType:@"mp3"]]; [song setRepeat:YES]; [song play]; GBMusicTrack.h // // GBMusicTrack.h // GameBase /…
ios - How do I detect when someone shakes an iPhone? - Stack Overflow // Ensures the shake is strong enough on at least two axes before declaring it a shake. // "Strong enough" means "greater than a client-supplied threshold" in G's. stati…