2. run redsnow
3. choose iPod2,1_3.0_7A341_Restore.ipsw
4. plugin ipod , close ipod
5. let iphone enter DFU mode ( 按住home & 電源 10秒 ,接著按home for some time)
6. if the screen show "waiting for reboot", unplug ipod & plug ipod again
#define AppDelegate (MyAppDelegate *)[[UIApplication sharedApplication] delegate]
then use AppDelegate in the code
1. execute function in the future
- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay;
ex: [self performSelector:@selector(sing:) withObject:nil afterDelay:1.4];
2. use timer
(NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo;