के लिए चेतावनी प्राप्त करना मैं अपने दृश्य में UIActionSheet
प्रस्तुत कर रहा हूं और एक्शन शीट के बटनों में से एक एक और एक्शन शीट प्रस्तुत करता है। जब मैं iPad पर दूसरी कार्रवाई चादर पेश मैं लॉग में यह चेतावनी संदेश मिल:UIPopoverBackgroundVisualEffectView
UIPopoverBackgroundVisualEffectView इसकी अस्पष्टता चेतन करने के लिए कहा जा रहा है। इस टूटे हुए प्रकट करने के लिए प्रभाव का कारण होगा जब तक अस्पष्टता रिटर्न 1.
यह मेरा कोड है:
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Option"] delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Sort", nil];
actionSheet.tag = 1;
[actionSheet showInView:self.view];
और प्रतिनिधि में:
-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {
[self showSortAction];
}
-(void)showSortAction {
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Sort By" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"A-Z", @"Z-A", @"Newer to older", @"Older to newer", nil];
actionSheet.tag = 2;
[actionSheet showInView:self.view];
}
यह बहुत अस्पष्ट है कि आप क्या पूछ रहे हैं। कृपया अपना प्रश्न संपादित करें। –
चेतावनी संदेश क्या है। अपनी यूआई छवियों और कोड को जो आपने किया है उसे जोड़ें। –
क्या आप डेमो साझा करेंगे? यदि आपको कोई फर्क नहीं पड़ता है, तो मैं इसे जांचूंगा और समाधान –