jjzjj

Unrecognized

全部标签

ios - 错误 [NSISLinearExpression orientationChanged :]: unrecognized selector sent to instance

当我改变方向时,我在应用程序中遇到了这个错误,这是我人生中的第一次,我以前从未见过这种类型的错误,我已经搜索了很多有关此错误的信息,但我找不到解决此问题的方法,在我的应用程序中,我为方向更改编写了NSNotification滚动条.m-(id)initWithFrame:(CGRect)frame{self=[superinitWithFrame:frame];if(self){//InitializationcodescrollView=[UIScrollViewnew];pageControl=[UIPageControlnew];scrollView.delegate=self;

ios - Objective-C 错误 [__NSCFNumber 长度] : unrecognized selector sent to instance

我正在编写一个基于tableView的应用程序。当我在我的tableView中使用默认单元格时,一切都完美无缺。当我尝试制作海关单元时出现此错误:2014-12-0122:50:01.690Signaturegourmande[15701:624637]-[__NSCFNumberlength]:unrecognizedselectorsenttoinstance0xb0000000000000c32014-12-0122:50:01.716Signaturegourmande[15701:624637]***Terminatingappduetouncaughtexception'N

ios - [UICollectionViewCell cellImageView] : unrecognized selector sent to instance

在UICollectionView上,我想用图像填充CollectionViewCell。但是我收到以下错误:我的错误在哪里,我该如何解决?2013-01-2922:25:38.606foobar[1277:c07]CollectionViewControllerloadedwithsearches:222013-01-2922:25:38.609foobar[1277:c07]id:0->content:2013-01-2922:25:38.610foobar[1277:c07]-[UICollectionViewCellcellImageView]:unrecognizedsele

ios - [UIImage imageWithRenderingMode :]: unrecognized selector sent to instance

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。要求提供代码的问题必须表现出对所解决问题的最低限度理解。包括尝试过的解决方案、为什么它们不起作用,以及预期结果。另请参阅:StackOverflowquestionchecklist关闭9年前。Improvethisquestion我正在尝试显示原始标签栏图像。以下代码在iOS7中运行良好,但在iOS6.0中会出现上述崩溃。以下是AppDelegatesdidFinishLaunchingWithOptions中的代码UITabBar*tb=tabBarControllerProperty.tabBa

ios - 尝试从字典中检索字符串时出现 "[__NSArrayM objectForKey:]: unrecognized selector"

我正在尝试为我的标签设置文本。这是代码:-(UITableViewCell*)tableView:(UITableView*)tableViewcellForRowAtIndexPath:(NSIndexPath*)indexPath{newsDataCell*cell=(newsDataCell*)[tableViewdequeueReusableCellWithIdentifier:@"newsData"];if(cell==nil){cell=[[newsDataCellalloc]initWithStyle:UITableViewCellStyleDefaultreuseIde

ios - 由于这个原因应用程序崩溃 [NSConcreteValue boundingBox] : unrecognized selector sent to instance 0x12ecca40

我正在使用cocos2d3.x和Xcode5.1.1。我正在尝试在touchBegan时获取CCSprite位置,使用CCRectContainsPoint函数我遇到了上述错误,这是我的编码..这里checkpt是NSMutable数组,它有CCSprite,在此先感谢..-(void)touchBegan:(UITouch*)touchwithEvent:(UIEvent*)event{for(CCSprite*chekPt_copyin_checkpt){if(CGRectContainsPoint(chekPt_copy.boundingBox,touchLoc)){[selfr

ios - subview 中的按钮操作出现 "unrecognized selector sent to instance"错误

这是我的场景:MainVC:ScrollView:[Multiple]MyPage:[Multiple]ObjectView:[Multple]UIButton我的主视图Controller包含一个UIScrollView。ScrollView应该加载多个启用分页的“MyPage”View。我使用IB创建“MyPage”界面(MyPage.xib)和ViewController文件(MyPage.h&.m)。MyPage.xib文件所有者设置为MyPage。此“MyPage”将再次加载我通过IB使用(ObjectView.xib,ObjectView.h,ObjectView.m)My

ios - "Fixed"奇怪的 "unrecognized selector sent to instance"崩溃发生在 iOS8 beta5

我的应用在iOS7上运行良好,但在iOS8上崩溃。我见过关于这个主题的各种问题,但从未找到好的解决方案。我有一个使用UITableViewController的应用程序,UITableViewController有一个SearchDisplayController实例调用m_searchDisplayController。当我第一次点击搜索栏进行搜索时,表格View随后显示结果,搜索栏resignFirstResponder。但我再次点击搜索栏时,应用程序崩溃了:-[MyFavoritesViewController_searchController]:unrecognizedsele

ios - -[GKPlayerInternal setAuthenticateHandler :]: unrecognized selector sent to instance

使用此日志获取错误SIGABRT:“-[GKPlayerInternalsetAuthenticateHandler:]:无法识别的选择器发送到实例”我在iPad3iOS5.1.1上测试了这个GKLocalPlayer*localPlayer=[GKLocalPlayerlocalPlayer];localPlayer.authenticateHandler=^(UIViewController*viewController,NSError*error)//errorhere{/*somecode*/};在iOS6上这个工作正常 最佳答案

ios - 这个错误怎么可能 : Unrecognized Selected (screenFontWithRenderingMode) in iOS?

这个对我来说没有任何意义。我的应用因以下错误而崩溃:***Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'-[__NSCFTypescreenFontWithRenderingMode:]:unrecognizedselectorsenttoinstance0x209bb200'这是一款iOS应用。据我所知,screenFontWithRenderingMode是MacOSX而不是iOS的NSFont方法。那么这个错误怎么会发生呢?我正在使用新发布的Xcode5构建该应用程序。该应用程序将