This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xamarin.Forms; | |
[assembly: ExportRenderer(typeof(Appname.Views.DeviceInfoPage), typeof(Appname.iOS.Renderers.NoSwipeBackPageRenderer))] | |
namespace Appname.iOS.Renderers | |
{ | |
// Custom Rendered to disable the swipe back of provided page type (in this case DeviceInfoPage...) | |
// source: https://forums.xamarin.com/discussion/26966/how-to-disable-swipe-gesture-on-pushed-page | |
public class NoSwipeBackPageRenderer : PageRenderer | |
{ | |
public override void ViewDidAppear(bool animated) |