摘要:
[[NSBundle mainBundle] objectForInfoDictionaryKey:@”CFBundleVersion”](It’s an NSString*.) 阅读全文
摘要:
当iphone应用在ipad上运行时,设定button的image会在ipad上出现过度拉伸的现象,如改成backgroundimage就没问题了 阅读全文
摘要:
NSStringEncoding strEncode = CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingGB_18030_2000); NSString *strReceive = [[NSString alloc] initWithData:receivedData encoding:strEncode]; 阅读全文
摘要:
By default, Xcode inserts a company name something similar to the following in all new source files (.m .h etc): Copyright (c) 2009 MyCompanyName. All rights reserved.Changing this reference is as sim... 阅读全文