我曾经看过一个可以很UIActivityIndicatorView容易做到的图书馆,但我找不到它.有人知道或知道另一种做得好的方法UIActivityIndicatorView吗?类似的东西

我写了这段代码.我按照facebook SDK提供的示例应用程序代码.在FeceAppDelegate.m中
#import "FaceAppDelegate.h"
#import "FaceViewController.h"
@implementation FaceAppDelegate
@synthesize window = _window;
@synthesize viewController = _viewController;
@synthesize navigationController=_navigationController;
@synthesize facebook;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
FaceViewController *FaceViewController = [[FaceViewController alloc] init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:FaceViewController];
// Initialize Facebook
facebook = [[Facebook alloc] initWithAppId:@"345678" andDelegate:FaceViewController];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
return YES;
}
Run Code Online (Sandbox Code Playgroud)
当我运行时,我有EXC_BAD_ACCESS,我有一个警告,"未找到实例方法alloc ..."我认为问题出在
FaceViewController *FaceViewController = [[FaceViewController alloc] init];
Run Code Online (Sandbox Code Playgroud)