Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. Seems like it's because some of the UITouch interface has changed. 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.

like image 778
adit Avatar asked Aug 29 '12 22:08

adit


1 Answers

This patch on GitHub seems like it fixes this problem when using Three20 under iOS 6.

Basically the patch is to update src/Three20UI/Headers/UIViewAdditions.h and src/Three20UI/Headers/UIViewAdditions.m and change all references of

#ifdef DEBUG

to this:

#ifdef DEBUG_TOUCHES
like image 161
jonkroll Avatar answered Oct 22 '22 06:10

jonkroll