[英]three20 and iOS 6 not working
I was just trying out a project of mine which had Three20 in it and it seems that it doesn't compile/gives me build error. 我只是尝试了一个我的项目,其中包含Three20,它似乎没有编译/给我构建错误。 Seems like it's because some of the UITouch interface has changed.
看起来像是因为某些UITouch界面已经改变了。 Wonder if there's a quick fix to do this?
不知道有没有快速解决方法吗?
Seems like here is the issue: 似乎这里是问题:
UITouch ivars have been removed of the iOS 6 SDK headers: private API access in UIViewAdditions breaks the build on iOS 6.
UITouch ivars已被删除iOS 6 SDK标头:UIViewAdditions中的私有API访问打破了iOS 6上的构建。
This patch on GitHub seems like it fixes this problem when using Three20 under iOS 6. 在iOS 6下使用Three20时,GitHub上的这个补丁似乎解决了这个问题。
Basically the patch is to update src/Three20UI/Headers/UIViewAdditions.h
and src/Three20UI/Headers/UIViewAdditions.m
and change all references of 基本上补丁是更新
src/Three20UI/Headers/UIViewAdditions.h
和src/Three20UI/Headers/UIViewAdditions.m
并更改所有引用
#ifdef DEBUG
to this: 对此:
#ifdef DEBUG_TOUCHES
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.