小编Jas*_*ngh的帖子

如何在iPhone sdk中创建Excel工作表和文件?

我想生成应用程序来在iPhone sdk中创建excel文件.任何人都可以建议我创建它.

iphone xcode ms-office ios4 ios

8
推荐指数
1
解决办法
1万
查看次数

如何从iPhone sdk中的标签获取文本字段值?

如果我有一个文本字段的标签,那么我如何在iPhone sdk中选择textfield的值

iphone xcode ios4 ios

6
推荐指数
3
解决办法
8015
查看次数

自定义Twitter框架的取消按钮

在此输入图像描述我正在使用twitter框架.UIView当我们打电话给TWTweetComposeViewController班级时,会有取消和发送按钮.我想要从发送按钮更改取消按钮的颜色,但目前它显示灰色.我试图到达子视图,发现取消按钮的类型UIButtonLabel是私人类.但它是子类,UILabel并试图通过使用它的超类是条件UILabel并且文本是取消来改变颜色.当我尝试NSLog子视图时,它有时会记录它,但有时不会打印取消按钮的超级视图(这是一个UIButton).我打印了该按钮的详细信息:

 <UIButton: 0x859fe10; frame = (265 7; 52 30); alpha = 0; opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x859fea0>>.....(
"<UIImageView: 0x85b8910; frame = (0 0; 52 30); clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x85b7c30>>",
"<UIButtonLabel: 0x859ffb0; frame = (6 7; 40 15); text = 'Cancel'; clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer = <CALayer: …
Run Code Online (Sandbox Code Playgroud)

iphone xcode ios5

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

我如何在iPhone sdk中对NSMutableArray进行排序

可能重复:
如何在目标c中对NSMutableArray进行排序

我想排序包含值434,34,4,45的NSMutablearray

我正在使用此代码进行排序:

[arrayfinale sortUsingSelector:@selector(compare:)];
Run Code Online (Sandbox Code Playgroud)

但它返回:

45,4,34,433

但我想要

4,34,45,433

任何人都可以帮我解决这个问题

iphone xcode ios4 ios

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

如何从 Youtube URL 获取缩略图?

NSURL *youTubeURL = [NSURL URLWithString:@"http://www.youtube.com/watch?v=HPwyVw_6vsQ&feature=youtu.be"]; // URL is a string which needs to be placed in @"" and close method call with ].
MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:youTubeURL];
imageSel = [player thumbnailImageAtTime:1.0 timeOption:MPMovieTimeOptionNearestKeyFrame];
Run Code Online (Sandbox Code Playgroud)

我正在使用此代码从视频中获取缩略图,并在 imagesel 中返​​回空值。有人可以帮我解决这个问题吗?我正在使用 YouTube URL。当我将此代码用于主包中的视频时它工作正常。

youtube iphone xcode youtube-api ios

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

标签 统计

iphone ×5

xcode ×5

ios ×4

ios4 ×3

ios5 ×1

ms-office ×1

youtube ×1

youtube-api ×1