hello everyone.
i am having some issues but i want to check they are coding issues by me and not SDK issues..
fist i have a 2.0 i phone
using the toolchain as described for 1.2/2.0
i am getting a huge build issue
code follows:
// Set up the window and content view
CGRect screenRect = [[UIScreen mainScreen] bounds];
self.window = [[[UIWindow alloc] initWithFrame:screenRect] autorelease];
// Add the image as the background view
UIImageView *anImageView = [[UIImageView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
anImageView.image = [UIImage imageNamed:@"MyBackground.png"];
self.contentView = anImageView;
[anImageView release];
[self.window addSubview: self.contentView];
// Show the window
[self.window makeKeyAndVisible];
im getting errors for UIScreen and a few other is this because they are not supported or what?![]()



LinkBack URL
About LinkBacks








Reply With Quote
Bookmarks