why the crash then :/

2011/10/31 Robert Jordan <[email protected]>

> On 31.10.2011 19:56, Andreas Ploetzeneder wrote:
> > null is not allowed,i get a crash if i make third argument null.... but
> for
> > what do i need it  ?
>
>  From the docs I've posted below: "The completion handler is called
> after the viewDidAppear: method is called on the presented view
> controller."
>
> > so third argument can be "delegate{};"?
>
> Yes.
>
> splitviewcontroller.PresentViewController(
>   someController,
>   true,
>   delegate {}
>   );
>
> >
> >
> >
> > 2011/10/31 Robert Jordan<[email protected]>
> >
> >> On 31.10.2011 18:48, Andreas Ploetzeneder wrote:
> >>> Hi,
> >>> i want to call splitviewcontroller.PresentViewController  ,
> >>> splitviewcontroller is an UISplitviewcontroller
> >>>
> >>> what is the third argument, i have to call? can u show me an example?
> >>
> >> It's a simple delegate, so you could pass `delegate {}' as the 3rd
> >> parameter, if null isn't allowed. The docs say otherwise:
> >>
> >>
> >>
> http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006926-CH3-SW75
> >>
> >> So please file a bug if passing delegate {} is fixing your issue.
> >>
> >> Robert
> >>
> >>
> >> _______________________________________________
> >> MonoTouch mailing list
> >> [email protected]
> >> http://lists.ximian.com/mailman/listinfo/monotouch
> >>
> >
> >
> >
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 





Mit freundlichem Gruß,*

Andreas Plötzeneder*
CEO
*ihr ploetzeneder it-solutions Team
**Mobile 
Development*<http://www.ploetzeneder-it.com/softwareentwicklung/mobile-development.html>
* – 
**Desktopanwendungen*<http://www.ploetzeneder-it.com/softwareentwicklung/desktop-anwendungen.html>
* – 
**Webanwendungen*<http://www.ploetzeneder-it.com/softwareentwicklung/web-anwendungen.html>
*
Tel:*  +43 720 30 30 24 10
*Fax:* +43 720 30 30 24 20
*Email:* [email protected]
*web:   *http://www.ploetzeneder-it.com

 Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich
und ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sind, so löschen
sie diese bitte und informieren Sie den Absender. Jede Form der Verbreitung
oder Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in
Teilen, die nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert wurde.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to