Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Can't access to auto-properties of instance for ios xamarin forms app simulator(ios 13.1)

isarzhanisarzhan USMember ✭✭
edited October 2019 in Xamarin.iOS

Can't access to auto-properties of instance for ios xamarin forms app simulator(ios 13.1)
Xcode 11.1
xamarin.ios v4.0.30319

DOT class implement

public class apiRegisterDTOModel
    {
        public string Name { get; set; }
        public string Phone { get; set; }
        public int UserType { get; set; }

    }

Posts

  • isarzhanisarzhan USMember ✭✭
    edited October 2019

    therefore json body is empty after serialize

  • isarzhanisarzhan USMember ✭✭

    @isarzhan said:
    Can't access to auto-properties of instance for ios xamarin forms app simulator(ios 13.1)
    Xcode 11.1
    xamarin.ios v4.0.30319

    DOT class implement

    public class apiRegisterDTOModel
    {
    public string Name { get; set; }
    public string Phone { get; set; }
    public int UserType { get; set; }

    }

    When i try to debug my xamarin.ios application on the iphone simulator i can't set any properties for DTO class instance , as i showed on a picture below, therefore i can serialize my DTO but this json string is empty. There is not any exception or another type of error. Why could it be such?

Sign In or Register to comment.