标签: iphone-sdk-4.3

iPhone SDK 4.3 libav compiling problem

I faced with strange problem. I installed iPhone SDK 4.3 and xCode 4 and now I can't compile libav from ffmpeg for ARMv6 architecture. This is my script to compile it (it works fine for iPhone SDK 4.2):

./configure \
--disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile \
--enable-encoder=rawvideo \
--enable-decoder=h264 \
--enable-decoder=mpeg4 \
--enable-encoder=mjpeg \
--enable-muxer=rawvideo \
--enable-demuxer=h264 \
--enable-parser=h264 \
--enable-cross-compile \
--arch=c \
--target-os=darwin \
--enable-libopencore-amrnb --enable-libopencore-amrwb \
--cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 \
--as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer    /usr/bin/arm-apple-darwin10-gcc-4.2.1' \
--sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk \
--cpu=arm1176jzf-s --extra-cflags='-arch armv6' …
Run Code Online (Sandbox Code Playgroud)

iphone libav iphone-sdk-4.3

9
推荐指数
1
解决办法
5517
查看次数

iPhone个性化表圆角桌

我没有太多的iphone屏幕设计经验,但我需要制作一个这样的表:(图像),我做了一个调查,但我没有找到任何东西.这个表需要有一个圆角,用户将能够插入数据,在这种情况下,名字,姓氏等...现在我正在使用SDK 4.3.如果有人有教程我会很感激

谢谢,

可编辑的圆角桌

iphone uitableview iphone-sdk-4.3

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

通过分析UILabel的文本设置,发生奇怪的内存泄漏

当我Product > Analyze的铿锵声分析仪给我一个内存泄漏我不明白.它说我在第二行泄漏了在下面代码的第一行中初始化的东西

[[testView newScore] setText: [NSString stringWithFormat: @"+%d", addScore]];
[[testView newScore] setTextColor: [UIColor greenColor]];
Run Code Online (Sandbox Code Playgroud)

由于Instruments现在不能正常工作(我正在使用带有SDK 4.3的Xcode 4.1),我无法进一步研究这种泄漏.

你知道为什么这可能是内存泄漏.该属性newScore定义如下:

@property (nonatomic, retain) UILabel *newScore;
Run Code Online (Sandbox Code Playgroud)

并且testView是.的子类UIView.

编辑:分析仪输出的屏幕截图: 在此输入图像描述

谢谢你的阅读!

objective-c uilabel ios iphone-sdk-4.3

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

标签 统计

iphone-sdk-4.3 ×3

iphone ×2

ios ×1

libav ×1

objective-c ×1

uilabel ×1

uitableview ×1