Xcode में मैं FBConnect निम्नलिखित पंक्ति में एक चेतावनी मिलती है:कंपाइलर चेतावनी ... विभिन्न प्रकार के प्रकार 'UIDeviceOrientation' के लिए गणना प्रकार 'UIInterfaceOrientation' से लागू रूपांतरण?
_orientation = [UIApplication sharedApplication].statusBarOrientation;
यह पूर्ण चेतावनी है:
Implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation'
कोई भी विचार कैसे मैं इसे ठीक कर सकते हैं?
धन्यवाद!
यह बहुत अस्पष्ट है। यदि आप कर सकते हैं, तो आप कुछ विवरण जोड़ सकते हैं। –
ओह कोड की रेखा है जहां चेतावनी है: _orientation = [UIAplplication sharedAplication] .statusBarOrientation; –