腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(6101)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
NSTimer
无效...?
为了触发drawRect方法,我尝试在
NSTimer
选择器中调用self setNeedsDisplay:YES。首先,我将
NSTimer
初始化代码放在一个按钮函数中:{ selector:@selector(myTimerAction:) repeats:YES]; -(void)myTimerActi
浏览 3
修改于2011-02-08
得票数 1
2
回答
错位
NSTimer
例如,
NSTimer
1火灾在0.1,然后在0.4,
NSTimer
2火灾在0.2,然后在0.5,
NSTimer
3火灾在0.3,然后在0.6,等等。var timer1 =
NSTimer
.scheduledTimerWithTimeInterval(0.3, target: self, selector: Selector("updateSegment1"), userInfo: nil, repeats: true) var timer2 =
NSTimer
.scheduledTime
浏览 2
提问于2015-06-23
得票数 1
回答已采纳
2
回答
NSTimer
故障
timer和startTime在.h中分别定义为
NSTimer
和NSDate。{ NSLog(@"%@", startTime);{ timer = nil; - (void)tick:(
NSTime
浏览 0
修改于2009-10-09
得票数 1
回答已采纳
3
回答
NSTimer
问题
我正在编写一个iphone应用程序,它使用
NSTimer
来执行一些任务。在程序中,我无法获得在
NSTimer
循环中更新的变量的更新值。这是我的密码。progress; IBOutlet UILabel *lable1;
NSTimer
UIProgressView *progress;@property (no
浏览 7
修改于2010-08-26
得票数 3
3
回答
NSTimer
问题
我创建了一个“动画”,在使用
NSTimer
单击按钮时移动进度视图。在点击按钮的前几次,这个动画工作得很好,但是之后它开始加速这个过程,实际上是从
NSTimer
循环的初始开始跳到
NSTimer
循环的末尾。我想知道是否有人听说过这个问题并且/或知道一个解决方案?,,我在问题1中创建了同样的东西,但是在UItableViewCell中,当按下编辑按钮时,
NSTimer
循环被激活。编辑按钮激活具有此[self.tableView2 setEditing:NO animated:YES];和
NSTimer
浏览 2
修改于2012-05-18
得票数 1
1
回答
NSTimer
/NSTimeInterval
@end@synthesize countDown;[
NSTimer
@"%i",batman];while (batman >= 0){ [
NSTimer
浏览 2
提问于2012-05-05
得票数 0
回答已采纳
2
回答
增量
NSTimer
我的应用程序中有这样的方法: self.myTimer = [
NSTimer
scheduledTimerWithTimeInterval:theInterval
浏览 2
修改于2011-03-19
得票数 0
回答已采纳
2
回答
NSTimer
问题
我如何使用
NSTimer
来进行倒计时,或者这是可能的吗?
浏览 0
提问于2009-08-06
得票数 0
1
回答
未触发
NSTimer
我使用下面的代码等待
NSTimer
触发 { isTriggered=false; j1++
浏览 0
提问于2012-10-31
得票数 0
回答已采纳
1
回答
NSTimer
混淆
我尝试让标签每秒减去一次(类似于倒计时),当我设置一个变量"timer“并将其设置为
NSTimer
.scheduledTimerWithTimeInterval(1.0,target: self,selector
浏览 1
修改于2016-04-04
得票数 0
4
回答
暂停
NSTimer
我正在使用
NSTimer
来更新在UIImageView中显示的图像。基本上,每隔3秒,UIImageView就会加载一个新的UIImage。问题是,如果我从UITableView中选择一行,
NSTimer
将继续运行。如何在didSelectRowFromIndexPath上停止
NSTimer
,然后在视图返回屏幕时重新启动它?pool = [[NSAutoreleasePool alloc] init]; [[
NSTime
浏览 0
提问于2011-05-03
得票数 1
回答已采纳
1
回答
NSTimer
精度
我似乎记得有人告诉我,
NSTimer
只是在指定的持续时间之后将一个操作放在堆栈上,而不是在指定的持续时间之后运行的操作。这意味着,如果在堆栈上有许多其他操作在它之前,它将不会被及时调用。
浏览 4
提问于2012-08-06
得票数 2
回答已采纳
2
回答
NSTimer
问题
下面是我的代码: target: self
浏览 0
提问于2010-07-11
得票数 3
回答已采纳
1
回答
Nstimer
实施
因此,我想要创建一个
nstimer
,它将在几分钟内从用户检索整数,并以秒开始倒计时。我希望如果用户放置15计时器开始以这种格式计算14:59,14:58。我在几秒钟内实现以下代码。[NSString stringWithFormat:@"%2d:%.2d", minutes, seconds];-(void)setTimer{ Timer = [
NSTimer
浏览 2
修改于2014-08-02
得票数 0
回答已采纳
2
回答
NSTimer
setFireDate
(void)CFRunLoopTest { timer = [
NSTimer
浏览 3
修改于2011-05-26
得票数 1
回答已采纳
3
回答
NSTextField +
NSTimer
我认为
NSTimer
scheduledTimerWithTimeInterval可能是一个很好的方法,但我不知道如何去做。[self startTimer]; [
NSTimer
scheduledTimerWithTimeInterval:5 target:self selector
浏览 3
修改于2014-05-26
得票数 0
1
回答
使用
NSTimer
我使用
NSTimer
在场景中创建一个新的对象。
浏览 0
提问于2016-12-21
得票数 0
1
回答
NSTimer
for UILabel
我有一个关于结合使用
NSTimer
和标签的问题。我还没有找到答案,但这可能是最基本的。我还在学习iOS..。-(IBAction)modeyears.text = @"0";days.text = @"0
浏览 2
修改于2013-12-09
得票数 0
回答已采纳
2
回答
NSTimer
失效
如果我创建了一个永不重复的计时器 [
NSTimer
scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(updateSystems
浏览 1
提问于2011-07-18
得票数 1
回答已采纳
1
回答
NSTimer
的错误
我在iphone应用程序中添加了一个
NSTimer
。当我运行应用程序时,它失败了。代码是: {
浏览 1
修改于2012-06-09
得票数 0
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券