我是three20的新手。我试着摆弄Launcher。我想知道是否有一种方法可以在TTLauncherView中禁止编辑图标的位置。
我搜索并发现了一个旧帖子:
http://groups.google.com/group/three20/browse_thread/thread/b1a79ff4cb5e1983
然而,我在v1.1或v1.02a中没有看到这些变化。
谢谢!
发布于 2010-12-06 00:52:19
http://groups.google.com/group/three20/browse_thread/thread/dcc9a6535ab031c8/e6da5bef5b1f01c8?lnk=gst&q=malolan#e6da5bef5b1f01c8
答案在最后一篇文章中!
发布于 2011-04-16 00:54:58
我在TTLauncherView子类中添加了一个BOOL isEditable属性,以使Mark to解决方案更流畅一些。在这里添加了代码,以防有人发现它有用。
编辑:糟糕,如果isEditable为真,这看起来不起作用。嗯。
- (void)editHoldTimer:(NSTimer*)timer {
if (self.isEditable) {
// use performSelector to remove the warning for calling a (Three20) private superclass
[super performSelector:@selector(editHoldTimer:) withObject:timer];
} else {
_editHoldTimer = nil;
}
}https://stackoverflow.com/questions/4262751
复制相似问题