Coworker had issue with an iPad running 7.0.2 and using edgesForExtendedLayout. Compiler error is "Property 'edgesForExtendedLayout' not found on object of type 'MyViewController *'". No, the subclass isn't really named MyViewController.
Oh, it also says; Use of undeclared identifier 'UIRectEdgeNone'.
This error only appeared when trying to compile with the iPad connected and as the target for debugging.
The code in question is;
I had iOS 7.0 on my iPhone and entered the same line for one of my view controllers in a different project. The code compiled fine with the device connected and being the target device.
I upgraded to 7.0.2 and now get the same error as my coworker.
The deployment targets for both our projects is iOS 5. Tried 6 and 6.1 with same result.
Anyone seen this problem and have a fix?
So far, if we make the deployment target iOS 7, the problem is resolved. These apps have the need to run on devices running less than iOS 7.
Oh, it also says; Use of undeclared identifier 'UIRectEdgeNone'.
This error only appeared when trying to compile with the iPad connected and as the target for debugging.
The code in question is;
Code:
self.edgesForExtendedLayout = UIRectEdgeNone;
I had iOS 7.0 on my iPhone and entered the same line for one of my view controllers in a different project. The code compiled fine with the device connected and being the target device.
I upgraded to 7.0.2 and now get the same error as my coworker.
The deployment targets for both our projects is iOS 5. Tried 6 and 6.1 with same result.
Anyone seen this problem and have a fix?
So far, if we make the deployment target iOS 7, the problem is resolved. These apps have the need to run on devices running less than iOS 7.
Last edited: