Actually I am new to iphone development and want to implement Toast for this I find a stackoverflow post Android Toast in iPhone?
Now the problem is, here a code is given in one post for Toast but I donot know that in which type of file i need to write this code to work...
using System;
using System.Drawing;
using MonoTouch.UIKit;
namespace General
{
public class ToastSettings
{
public ToastSettings ()
{
this.Duration = 500;
this.Gravity = ToastGravity.Center;
}
public int Duration
{
get;
set;
}
public double DurationSeconds
{
get { return (double) Duration/1000 ;}
}
public ToastGravity Gravity
{
get;
set;
}
public PointF Position
{
get;
set;
}
}
}