iOS7.0 Fullscreen Problem

Hey guys I have a recent problem with my App compiling for iOS 7.0, at first I should probably mention, that everything runs perfectly on my Android device. So the following Error Messages appear in XCode :

**‘wantsFullScreenLayout’ is deprecated: first deprecated in iOS 7.0 (in and in

‘presentFromViewController:’ is deprecated: first deprecated in iOS 7.0 - Use - [UIViewController] (in**

I don’t know how to script in Objective C, so a detailed suggestion what code and where I should put it would be nice.

Thanks for all answers :slight_smile:
Greetings Posch :slight_smile:

It’s likely you have it set to 6.1 so it’s trying to make this function work for iOS 6.1, however when you get to Xcode, it’s trying to make sure you are compliance and don’t use deprecated libraries. The solution is to set the target in player setting to higher then when the library was deprecated. If you export with target iOS 8.1 it will work.