I would suggest waiting until iOS 7 can send your update.
However, these are solutions to the problem.
Property 'fooForExtendedLayout' not found on object of type 'UIViewController *'
Since properties are just syntactic sugar, an easy way to fix such an error is to use a selector to call the method (setter):
[ self performSelector: NSSelectorFromString( "setFooForExtendedLayout:" ) withObject: ( id )xxx ];
@selector() cannot be used because you are requesting an iOS 7 selector with the iOS 6 SDK.
Hence the use of NSSelectorFromString .
The withObject argument is created for objects, as the name suggests. But since objects are pointers, and since your method takes an enumeration value, you can pass it without problems using a listing.
Using undeclared identifier 'UIFooEdgeLeft'
Using undeclared identifier 'UIFooEdgeRight'
Now about your enumeration values ββthere is no such trick.
The only way is to declare them with the same values ββas in the iOS 7 SDK, and pray that it does not change before the official release .
So now it is up to you ... Personally, I would wait.
Macmade
source share