equal
deleted
inserted
replaced
35 |
35 |
36 NSString *strPath = [NSString stringWithFormat:@"%@/credits.plist",IFRONTEND_DIRECTORY()]; |
36 NSString *strPath = [NSString stringWithFormat:@"%@/credits.plist",IFRONTEND_DIRECTORY()]; |
37 NSArray *array = [[NSArray alloc] initWithContentsOfFile:strPath]; |
37 NSArray *array = [[NSArray alloc] initWithContentsOfFile:strPath]; |
38 self.people = array; |
38 self.people = array; |
39 [array release]; |
39 [array release]; |
40 |
40 |
|
41 NSString *imgName; |
|
42 if (IS_IPAD()) |
|
43 imgName = @"smallerBackground~ipad.png"; |
|
44 else |
|
45 imgName = @"smallerBackground~iphone.png"; |
|
46 UIImage *img = [[UIImage alloc] initWithContentsOfFile:imgName]; |
|
47 self.view.backgroundColor = [UIColor colorWithPatternImage:img]; |
|
48 [img release]; |
41 [super viewDidLoad]; |
49 [super viewDidLoad]; |
42 } |
50 } |
43 |
51 |
44 -(IBAction) buttonPressed:(id) sender { |
52 -(IBAction) buttonPressed:(id) sender { |
45 playSound(@"backSound"); |
53 playSound(@"backSound"); |