iphone,android,web,wp7同时录音及播放-m4a格式 (4)

self.navigationItem.rightBarButtonItem = BARBUTTON(@"Record", @selector(record));

else

self.title = @"No Audio Input Available";

}

@end

@interface TestBedAppDelegate : NSObject <UIApplicationDelegate>

@end

@implementation TestBedAppDelegate

- (void)applicationDidFinishLaunching:(UIApplication *)application {

UIWindow *window = [[UIWindowalloc] initWithFrame:[[UIScreenmainScreen] bounds]];

UINavigationController *nav = [[UINavigationControlleralloc] initWithRootViewController:[[TestBedViewControlleralloc] init]];

[window addSubview:nav.view];

[window makeKeyAndVisible];

}

@end

int main(int argc, char *argv[])

{

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

int retVal = UIApplicationMain(argc, argv, nil, @"TestBedAppDelegate");

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zwpjws.html