All Questions

209
votes
11answers
171393 views

Looking to understand the iOS UIViewController lifecycle

Could you explain me the correct manner to manage the UIViewController lifecycle? In particular, I would like to know how to use Initialize, ViewDidLoad, ViewWillAppear, ViewDidAppear, ViewWillDisapp...
83
votes
16answers
102624 views

How to force a UIViewController to Portrait orientation in iOS 6

As the ShouldAutorotateToInterfaceOrientation is deprecated in iOS 6 and I used that to force a particular view to portrait only, what is the correct way to do this in iOS 6? This is only for one are...
156
votes
18answers
12240 views

Is MonoTouch now banned on the iPhone?

A recent post by John Gruber notes that the following legalese: 3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. H...
277
votes
14answers
147412 views

Remove all subviews?

When my app gets back to its root view controller, in the viewDidAppear: method I need to remove all subviews. How can I do this?
21
votes
2answers
2148 views

.NET Unit test runner for iOS

Has anyone written (or know about) a .net unit-test runner, preference to NUnit, that runs on iOS ? or do I have to roll my own ? My goal is to execute the unit tests on the simulator or devices. So ...
115
votes
3answers
49385 views

When to use Xamarin.Forms vs Xamarin Native?

I am in need to make a choice between Xamarin.Forms vs Xamarin native apps. I want to go with Xamarin.Forms as UI code will be shared as well. So what are the drawbacks of Xamarin.Forms as compared ...
28
votes
4answers
38254 views

Receiving Push Notifications while in background

I know this is covered in a lot of places, but I cannot figure this out. I use Urban Airship for push notifications. Everything seems to be fine except that when my app is in the background - didRece...
33
votes
1answers
9103 views

Is this a bug in MonoTouch GC?

Note: I've created a simple project—you can see how switching types between UIButton and CustomButton in storyboard changes GC behavior. I'm trying to get my head wrapped around MonoTouch garba...
14
votes
3answers
9896 views

How I can call a javascript function with MonoTouch and vice versa?

i'm new using monotouch. My problem is i want call a javascript function from a monotouch function and javascript function could call a monotouch function too. I believe that with objective c this...
17
votes
2answers
1606 views

Why is our MonoTouch app breaking in the garbage collector? It is not out of memory

We have a simple question, but the cause is complicated. We are experienced developers, and have done a lot of research into what may be causing it. We are hoping that MonoTouch developers can work wi...

Previous Next