three20和iOS 6无法正常工作 [英] three20 and iOS 6 not working
问题描述
我刚刚尝试了一个我的项目,里面有Three20,似乎它没有编译/给我构建错误。看起来像是因为一些UITouch界面已经改变了。不知道有没有快速解决方法吗?
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. Seems like it's because some of the UITouch interface has changed. Wonder if there's a quick fix to do this?
似乎这里是问题:
UITouch ivars已被删除iOS 6 SDK标题:UIViewAdditions中的私有API
访问打破了iOS 6上的构建。
UITouch ivars have been removed of the iOS 6 SDK headers: private API access in UIViewAdditions breaks the build on iOS 6.
推荐答案
GitHub上的这个补丁在iOS 6下使用Three20时似乎解决了这个问题。
This patch on GitHub seems like it fixes this problem when using Three20 under iOS 6.
基本上补丁是更新 src / Three20UI / Headers / UIViewAdditions.h
和 src / Three20UI / Headers / UIViewAdditions.m
并更改
Basically the patch is to update src/Three20UI/Headers/UIViewAdditions.h
and src/Three20UI/Headers/UIViewAdditions.m
and change all references of
#ifdef DEBUG
到此:
#ifdef DEBUG_TOUCHES
这篇关于three20和iOS 6无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!