我是新的iPhone开发人员.我收到了这个错误.
Ld /Users/c4ntechnology/Library/Developer/Xcode/DerivedData/iPatientCare-azwpvvrjjoaoygfcfqiicwkyssya/Build/Products/Debug-iphonesimulator/iPatientCare.app/iPatientCare normal i386 cd/Users/c4ntechnology/Desktop/iPatientCare setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH"/ Applications /Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/ sbin"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator5.1.sdk -L/Users/c4ntechnology/Library/Developer/Xcode/DerivedData/iPatientCare-azwpvvrjjoaoygfcfqiicwkyssya/Build/Products/Debug-iphonesimulator -F/Users/c4ntechnology/Library/Developer/Xcode/DerivedData/iPatientCare-azwpvvrjjoaoygfcfqiicwkyssya/Build/Products/Debug-iphonesimulator -filelist/Users/c4ntechnology/Library/D. eveloper/Xcode/DerivedData/iPatientCare-azwpvvrjjoaoygfcfqiicwkyssya/Build/Intermediates/iPatientCare.build/Debug-iphonesimulator/iPatientCare.build/Objects-normal/i386/iPatientCare.LinkFileList -mmacosx-version-min = 10.6 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED = 50100 -lsqlite3 -framework UIKit -framework AVFoundation -framework CoreGraphics -o/Users/c4ntechnology/Library/Developer/Xcode/DerivedData/iPatientCare-azwpvvrjjoaoygfcfqiicwkyssya/Build /产品/调试-iphonesimulator/iPatientCare.app/iPatientCare
架构i386的未定义符号:
"_ OBJC_CLASS _ $ _ ViewController",引用自:AppDelegate.o中的objc-class-ref ld:找不到架构i386的符号clang:错误:链接器命令失败,退出代码为1(使用-v看看调用)"_OBJC_CLASS _ $ _ ViewController",引自:
clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
请帮我
我有一个UILabel,我需要在其中显示两个不同颜色的字符串:下面是我的代码:
NSMutableAttributedString *text = [[NSMutableAttributedString alloc] initWithAttributedString: lbl_question.attributedText];
[text addAttribute: NSForegroundColorAttributeName value: [UIColor colorWithRed:52.0f/255.0f green:104.0f/255.0f blue:165.0f/255.0f alpha:1.0f] range: NSMakeRange(0,[result integerValue]+1)];
[text addAttribute: NSForegroundColorAttributeName value: [UIColor colorWithRed:75.0f/255.0f green:75.0f/255.0f blue:75.0f/255.0f alpha:2.0f] range: NSMakeRange([result integerValue]+1,[strq length])];
[lbl_question setAttributedText: text];
Run Code Online (Sandbox Code Playgroud)
在iOS 6中它可以正常工作,但在ios 5和早期版本中,这两个字符串每次都被忽略了.我也希望根据文字和字体获得宽度.根据文字增加高度.
我相信必须有解决方案......请帮我解决这个问题....
我想在uitableview中创建加载更多数据,比如在当时显示活动指示器并再次加载更多数据.我在ios开发中使用asihttp请求进行Web服务.所以请帮帮我......