Looks like a couple of problems to me (i'm looking at AuthenticatePasscodeController, probably the same problems are in SetPasscodeController)
First, this.NavigationController.InvokeOnMainThread( should just be InvokeOnMainThread( Second, alertView.Hidden = true; doesn't do what you think it does. It is "just" hiding the alertView - the screen is still 'modally blocked'. it looks like this, http://screencast.com/t/9SX9vps6ZB right? this is why your Edit button isn't working. instead change your code to alertView.DismissWithClickedButtonIndex(0, false); ...and it works http://screencast.com/t/jtG1fHqS5T6 HTH On Wed, May 16, 2012 at 8:09 AM, Jason Awbrey <ja...@awbrey.net> wrote: > I haven't had a chance to look at your code yet, but are you assigning a > delegate to your button? IIRC, you can either use a delegate or a C# style > event handler, but not both. Trying to do so usually ends up with neither > working. > > > On Tue, May 15, 2012 at 2:03 PM, celticfrost <adeel2...@gmail.com> wrote: > >> Thank you Bill. I gave it a go but still no joy. >> >> I have attached the full code. If you can kindly take a look please. >> >> http://monotouch.2284126.n4.nabble.com/file/n4635215/FirstAttempt.zip >> FirstAttempt.zip >> >> I even tried to replace uiviewcontroller and uitableview with a >> uitableviewcontroller but faced the same issue. >> >> Basically all the app does is, it displays initial startup screen. Then >> depending if it is being run for the first time, it asks user to set >> passcode or else takes user directly to screen asking for passcode which >> is >> hardcoded to 1234. >> >> After it takes user to MainTableController which uses uitableview and >> where >> I have UIBarButtonItems but their events are not firing. >> >> Many thanks for taking time to look into the code. >> >> Craig >> >> -- >> View this message in context: >> http://monotouch.2284126.n4.nabble.com/UIBarButtonItems-are-not-firing-in-UIViewController-tp4633026p4635215.html >> Sent from the MonoTouch mailing list archive at Nabble.com. >> _______________________________________________ >> MonoTouch mailing list >> MonoTouch@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/monotouch >> > > > _______________________________________________ > MonoTouch mailing list > MonoTouch@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch