Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Segue build with errors (Xamarin Tutorial)

$
0
0

I'm a newb at Xamarin and app development. I'm trying to work through Xamarin's Hello, iOS Multiscreen tutorial. It says to add this to my code:

var callHistoryController = segue.DestinationViewController as CallHistoryController;

When I run build, the first line gets the error "Cannot convert type 'UIKit.UIViewController' to 'TestApp.CallHistoryController' via a built-in conversion"

My .cs file is labeled CallHistoryController as it should be.

Any help would be great.

Thanks.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>