[Mono-bugs] [Bug 619325] New: Inconsistent execution of ViewWillAppear event
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Jul 1 17:27:56 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=619325
http://bugzilla.novell.com/show_bug.cgi?id=619325#c0
Summary: Inconsistent execution of ViewWillAppear event
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Runtime
AssignedTo: gnorton at novell.com
ReportedBy: rickgross at mac.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
ViewWillAppear event fired each time I loaded a subview, until I added a View
Controller to the main view and then added subviews to that controller.
Original design just had a window.MakeKeyAndVisible (); in the main because I
did not support rotation. Added a ViewController to the mainWindow definition
and loaded subviews with,
this.mainViewController.View.AddSubview(subView.View);. At that point the
delegates defined in the ViewWillAppear event in the subviews stopped working.
Problem resolved by adding a ViewDidLoaded override and moving delegates to
that event.
I'm not sure if this is a documentation issue or a bug. Either way it lead to
hours of frustration.
Reproducible: Always
Steps to Reproduce:
1.Add ViewController to mainView and place delegates in ViewWillAppear
2.
3.
Actual Results:
No control delegates
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list