小编Gya*_*ani的帖子

directoryContentsAtPath不推荐使用iOS 4

我正在使用directoryContentsAtPath:哪个在iOS 4中被弃用了什么而不是这个?

谢谢

iphone ios4

13
推荐指数
1
解决办法
8280
查看次数

在运行时更改标签位置

如何UILabel在运行时更改位置?

谢谢.

iphone

5
推荐指数
1
解决办法
8869
查看次数

在iphone safari浏览器中浏览或选择文件按钮禁用

我想知道为什么select filechoose file在iphone safari中查看网页时禁用按钮.

任何人都可以告诉我为什么会发生这种情况有没有办法启用它?

谢谢

iphone mobile-safari

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

使UILabel呈圆形

如何制作UIlabel roundRect形状?通过改变UILabel的背景颜色,它看起来像一个形状的矩形,我想让它看起来像一个圆形的形状.

谢谢.

iphone

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

使用功能后EXC_BAD_ACCESS

这里的代码:

- (void)addAnswerWithNumber:(NSString *)numberAnswer
{    
    UIButton *aButton = [[UIButton buttonWithType:UIButtonTypeCustom] retain];
    [aButton setBackgroundImage:[UIImage imageNamed:@"roundBlue.png"] forState:UIControlStateNormal];
    [aButton addTarget:self action:@selector(removeAnswer:) forControlEvents:UIControlEventTouchUpInside];
    [aButton setTitle:numberAnswer forState:UIControlStateNormal];
    aButton.enabled = YES;
    aButton.titleLabel.font = [UIFont fontWithName:@"HelveticaNeue-Bold" size:18.0];
    aButton.titleLabel.textColor = [UIColor whiteColor];
    aButton.titleLabel.textAlignment = UITextAlignmentCenter;
    [dropableZone addSubview:aButton];
    [buttonList addObject:aButton];
    [aButton release];
    [aButton release];
    if ([buttonList count] > 0) {
        dropHereLabel.text = @"";
        [self repositionRoundButton];
    }else
    {
        dropHereLabel.text = @"Déposez votre ou vos Réponse(s) ici";
    }

}

- (void)repositionRoundButton
{
    int yPos =  ((890 / 2) - (([buttonList count] …
Run Code Online (Sandbox Code Playgroud)

iphone exc-bad-access ios

0
推荐指数
1
解决办法
303
查看次数

标签 统计

iphone ×5

exc-bad-access ×1

ios ×1

ios4 ×1

mobile-safari ×1