The big issue with this approach is that half the MAC address is missing when
accessed through MonoTouch. Interestingly enough, the second half of the
address has been moved to the first half. Almost as if there a bad shift
reading memory happening.
Here's the MAC info from my emulator. The Obj-C
I'm using MonoDevelop 2.6 with MonoTouch 4.0.7 and XCode 3.2.6. I'm having an
issue where an app crashes on the emulator when I add a UITextField to a
UITableViewCell and assign it a ShouldReturn delegate, but only when
launched from MonoDevelop.
When I launch from the home screen the return key
I’ve declared this method in the DataSource class for the table view and I
assign it as the ShouldReturn delegate in the GetCell method.
public bool DismissKeyboard(UITextField textField)
{
if (textField != null textField.IsFirstResponder)
Great suggestion, it seemed to help a little bit. The first time I ran it the
debugger kicked in an showed an unrecognized selector exception for the call to
textField.ResignFirstResponder(). I wanted to post a screen shot of it but when
I ran it the second time it just crashed and didn’t show
I wrapped the call to ResignFirstResponder in a try/catch block and was able
to get this screen clip showing an 'invalid selector' exception.
http://monotouch.2284126.n4.nabble.com/file/n3799747/Screen_shot_2011-09-08_at_2.04.21_PM.png
--
View this message in context:
,
Derik
From: Rolf Bjarne Kvinge [via MonoTouch]
[mailto:ml-node+3800196-1567871084-262...@n4.nabble.com]
Sent: Thursday, September 08, 2011 4:35 PM
To: Derik J. Palacino
Subject: Re: UITextField.ShouldReturn crashes app
Hi Derik,
On Thu, Sep 8, 2011 at 7:50 PM, Derik Palacino [hidden
email]/user
: UITextField.ShouldReturn crashes app
Hi Derik,
On Thu, Sep 8, 2011 at 11:57 PM, Derik Palacino [hidden
email]/user/SendEmail.jtp?type=nodenode=3800276i=0 wrote:
That’s what I thought you’d say. Is there cause for concern regarding memory
usage maintaining a list of the cells outside the table
,
Have you installed XCode 4.1 or do you have an earlier version?
I'd love to be able to track it down, I need to be able to reproduce
it on my own machine though.
Thanks,
Rolf
On Tue, Sep 6, 2011 at 6:58 PM, Derik Palacino [hidden
email]/user/SendEmail.jtp?type=nodenode=3795735i=0 wrote:
I came
I came accross this thread after encountering the same issue. My observations
were nearly identical, but for me the issue still persists. Interestingly,
the issue only persists when the app is launched from MonoDevelop. When I
quit the app on the emulator and then launch it from the emulator home