1
didFinishLaunchingWithOptionsでNSStringを定義しようとしていますが、予想識別子エラーが発生しています。 NSString baseURLを間違った場所に配置していますか?期待される識別子アプリケーションロード時のNSString
#import "AppDelegate.h"
NSString* baseURL = nil;
@implementation AppDelegate
@synthesize window = _window;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
baseURL = [@"http://mytesturl.com"];
// Override point for customization after application launch.
return YES;
}