i have imported a PCL library into my Xamarin IOS project. I can access the class but not the methods under it
Any help will be appreciated !!
If we don't specify accessibility level, Class is internal
by defalut , method is Private
by default, so as MilanG suggested, you should make the method Public
if you want to access it.
public
public class Class1
{
void test() {
}
}
public
public class Class1
{
public void test() {
}
}
PS:If it still doesn't work, try to clean and rebuild the PCL library.