English 中文(简体)
• 如何使“didSelectRowAtIndexPath”失效,使之失效?
原标题:How to enable void "didSelectRowAtIndexPath" and disable it?

我搜索了这个关键词。

发现的多数问题是如何触发这一问题。

但我的问题是,如何以其他条件使安理会能够发挥作用。

您可以在此查看我的最后一个问题:。 如何在表格中添加一个无线电台

B. 方法 如果不选定无线电台,如何消除这一真空?

www.un.org/Depts/DGACM/index_french.htm 观点 选择RowAtIndexPath:NSIndexPath *{}

最佳回答

我不解你的问题,但从我可以告诉什么,你想防止在一定条件下选择一张桌子。 您希望使用<代码>表格:willSelectRowAtIndexPath:。 如果您返回<代码>nil 表格 观点不会选择一行。 http://developer.apple.com/library/ios/#documentation/uikit/vis/UITableViewDelegate_ protocol/Reference/Reference.html” rel=“nofollow”

问题回答

我猜测,你需要在方法中有条件地操作该守则。 如果能让你的电台广播,那么,如果是的话,它就能够收复零(或另一轮)。 然而,你不能完全阻止使用这种方法。

根据您的电台,纽伦州将囚室财产制成册。

cell.userInteractionEnabled = NO;




相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签