These Stack Overflow questions will provide some pointers to version checking and/or feature checking. http://stackoverflow.com/questions/10950117/monotouch-nsclassfromstring http://stackoverflow.com/questions/8311284/recommended-way-to-test-for-ios-version-specific-feature-at-runtime
Sly On 3 September 2012 09:28, Chris Maka <[email protected]> wrote: > > Thanks, Alex (also, thanks Shawn). Wow, that's a really long list. > > Ah, found the culprit! It's a UITabBar.Appearance.TintColor = > UIColor.FromRGB assignment. > > I don't suppose there's a simple if (VersionNumber < 5.0) { // do stuff } > else { // do other stuff } construction I can use, is there? > > > --Chris > > > ------------------------------ > *From:* Alex Soto <[email protected]> > *To:* Chris Maka <[email protected]> > *Cc:* Nic Wise <[email protected]>; Shawn Castrianni < > [email protected]>; "[email protected]" < > [email protected]> > *Sent:* Sunday, September 2, 2012 5:45 PM > *Subject:* Re: [MonoTouch] App working fine in iOS 5, crashes in iOS 4 > > You can find the iOS 4.3 to iOS 5.0 API Differences here > > > http://developer.apple.com/library/ios/#releasenotes/General/iOS50APIDiff/index.html > > Alex > > > El 02/09/2012, a las 17:26, Chris Maka <[email protected]> escribió: > > > Unfortunately I don't, Nic. There's not a way to see what the error is via > the simulator, eh? > > Is there a list somewhere of methods that aren't supported in iOS 4 that I > could check against? > > > --Chris > > > ------------------------------ > *From:* Nic Wise <[email protected]> > *To:* Shawn Castrianni <[email protected]> > *Cc:* Chris_M <[email protected]>; "[email protected]" < > [email protected]> > *Sent:* Saturday, September 1, 2012 6:50 AM > *Subject:* Re: [MonoTouch] App working fine in iOS 5, crashes in iOS 4 > > Chris, do you have physical access to her device? or a 4.0 device? If > so, plug it in, and see what the error is using the xcode organiser. > You can see any crashes and stuff in the console in there. > > I'd suspect you are using a method which isn't supported in iOS4, as > Shawn was saying. > > On Sat, Sep 1, 2012 at 5:41 AM, Shawn Castrianni <[email protected]> > wrote: > > I would think it is an incompatible API call you are making that was > introduced new in ios5 and not available in ios4. For example, I believe > the NavigationItem.LeftBarButtons (plural version) property is new to ios5 > while ios4 only has the NavigationItem.LeftBarButton (singular version). > It would be nice to catch this at compile time somehow by I couldn't figure > out how. > > > > You should be able to reproduce the crash by running your app in an ios4 > simulator. > > > > > > Sent from my iPad > > > > On Aug 31, 2012, at 10:15 PM, Chris_M <[email protected]> wrote: > > > >> > >> My first for-reals app project is nearly feature complete, working like > a > >> charm (in iOS 5). My clients asked me to add a new tester, and the app > >> crashes upon launch on her device -- which is running iOS 4. I tested > it in > >> the MT debugger set to iOS 4 and sure enough, crashes on launch. > >> > >> I recall from last year that a bunch of people had similar problems for > >> different reasons. I'm using a UITabBarController in my app, and I > think I > >> recall that that might be an issue (but I might be imagining that -- my > >> terrible memory is the stuff of legend). > >> > >> Initial thoughts? Also, how do I generate a crash log? Where's it saved > to? > >> > >> > >> --Chris > >> > >> > >> > >> -- > >> View this message in context: > http://monotouch.2284126.n4.nabble.com/App-working-fine-in-iOS-5-crashes-in-iOS-4-tp4656802.html > >> Sent from the MonoTouch mailing list archive at > >> Nabble.com<http://nabble.com/> > . > >> _______________________________________________ > >> MonoTouch mailing list > >> [email protected] > >> http://lists.ximian.com/mailman/listinfo/monotouch > > _______________________________________________ > > MonoTouch mailing list > > [email protected] > > http://lists.ximian.com/mailman/listinfo/monotouch > > > > -- > Nic Wise > t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise > b. http://www.fastchicken.co.nz/ > > mobileAgent (for FreeAgent): get your accounts in your pocket. > http://goo.gl/IuBU > Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa > Earnest: Self-employed? Track your business expenses and income. > http://earnestapp.com > Nearest Bus: find when the next bus is coming to your stop. > http://goo.gl/Vcz1p > London Bike App: Find the nearest Boris Bike, and get riding! > http://goo.gl/Icp2 > > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > > > > > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
