小编Mej*_*idi的帖子

寻找阿拉伯语词典数据库

我怎样才能获得阿拉伯语词典的数据库?

database dictionary arabic

7
推荐指数
1
解决办法
4717
查看次数

xcode上的所有设备目标都变得"无法使用"

我试图将xcode 4.6和我现有的xcode 6.3一起安装.我在安装过程中遇到了问题.其中一个解决方案是运行此命令:

/Developer/Library/uninstall-devtools --mode=all
Run Code Online (Sandbox Code Playgroud)

之后我无法在设备下运行,对于我拥有它的所有设备都给了我这个错误: 在此输入图像描述

有没有人面对这个?

更新:

itunes也看不到我的设备.我重新安装了xcode但没有更改.

iphone xcode

7
推荐指数
1
解决办法
119
查看次数

在uiscrollview中进行uisegmentedcontrol

我想使用一个非常大的分段控制组件,所以我有想法在uiscrollview中进行.所以通过水平滚动用户可以选择合适的项目.我写了这段代码:

CGRect rect = [[UIScreen mainScreen] applicationFrame];
CGRect frame = CGRectMake(rect.origin.x + kLeftMargin, rect.size.height - kPaletteHeight - kTopMargin, 2*rect.size.width , kPaletteHeight);
seg.frame = frame;

scroll.frame = frame;
scroll.contentSize = CGSizeMake(frame.size.width * 2,frame.size.height);
scroll.showsHorizontalScrollIndicator = YES;
scroll.showsVerticalScrollIndicator = NO;
scroll.scrollsToTop = NO;
[scroll addSubview:seg];
Run Code Online (Sandbox Code Playgroud)

但滚动视图没有让分段控件被看到.我的错在哪里?

iphone uisegmentedcontrol uiscrollview

2
推荐指数
1
解决办法
4058
查看次数