Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Got it myself earlier and fixed it. It seems to occur when a subview (eg. UIAlertView) is created prior to its parent/super view. Something to do with the responder chain, maybe?
Anyway, try moving the view codes around to fix the problem.
I had the same problem, it occurred by placing a UITextField in a UIAlertView, so i had to [myTextField removeFromSuperview]; when a button was pressed on my alertview.
I had this occur on my actual device. When I chose to shoot pictures in my camera and put it in a uiimageview I got this error. The strange thing was it had been working fine before. So I knew it was not the code. I rebooted my iPhone and that fixed it.
I got the same issue, just add [mytextfield resignFirstResponder]; to the clickedButtonAtIndex delegate method, and it'll work. clickedButtonAtIndex dismisses the UIAlertView by calling [alertview resignfirstresponder], but unless you resign the textfield at the top of the stack, you get the error.
I had same issue, however I found the way out. The thing is you need to do something inside of didDismissWithButtonIndex method. I did another alter, now, it works great.
I got the same issue, just add [mytextfield resignFirstResponder]; to the clickedButtonAtIndex delegate method, and it'll work. clickedButtonAtIndex dismisses the UIAlertView by calling [alertview resignfirstresponder], but unless you resign the textfield at the top of the stack, you get the error.
THANK YOU!!!
I was going crazy with a problem I had with the view I load after an alert I have which contains a UITextField. I was getting the "wait_fences: failed to receive reply:" and the view that loaded after this error was the wrong size!!! For some reason it was being created with a height of 632. Attempts to force the view to resize failed.
After adding the resignFirstResponder call to my alert code, the error went away and the view size issue went away.
Any body having Idea about this Error in IPhone OS 3.0, it is coming while running the application.
While debugging i can see the data. but if i reset and run the application (Strangely ) i am not getting that data.
plz help,
thanks Koti
I had this same problem. For me, the problem was that I had a UIAlertView within a method returning a BOOL. When the calling method didn't immediately get a TRUE OR FALSE returned (because it was waiting on the alert to be dismissed), this error occurred. So I had to re-write a bit of code so that the UIAlertView could be displayed after the return from the method call.
I was getting this error whilst trying to display an alert telling the user that a text field was incomplete. After the alert I wanted the text field to become the first responder so they could re enter the data.
A quick & easy fix which worked for me was to use:
performSelector:withObject:afterDelay
to execute the code a few ms after the actionsheet / alert was dismissed. e.g:
Replies
any idea why this is?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeI am getting it as well. It shows up right after didReceiveMemoryWarning.
I release some unused views when I get didReceiveMemoryWarning.
The wait_fences message shows up right after that.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeAnyway, try moving the view codes around to fix the problem.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome[myTextField removeFromSuperview]; when a button was pressed on my alertview.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeHope this helpful.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome-(void) viewDidAppear:(BOOL) animated
{
[super viewDidAppear:animated];
[myTextField becomeFirstResponder];
}
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeI was going crazy with a problem I had with the view I load after an alert I have which contains a UITextField. I was getting the "wait_fences: failed to receive reply:" and the view that loaded after this error was the wrong size!!! For some reason it was being created with a height of 632. Attempts to force the view to resize failed.
After adding the resignFirstResponder call to my alert code, the error went away and the view size issue went away.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeSo I have the same problem. I've tried resigningFirstResponder, and I'm still getting the error.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeA quick & easy fix which worked for me was to use:
to execute the code a few ms after the actionsheet / alert was dismissed. e.g:
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome