public MvxImagePickerTask() { _modalHost = Mvx.Resolve <IMvxIosModalHost>(); _picker = new UIImagePickerController { //CameraCaptureMode = UIImagePickerControllerCameraCaptureMode.Photo, //CameraDevice = UIImagePickerControllerCameraDevice.Front }; _picker.FinishedPickingMedia += Picker_FinishedPickingMedia; _picker.FinishedPickingImage += Picker_FinishedPickingImage; _picker.Canceled += Picker_Canceled; }
public MvxImagePickerTask() { _modalHost = Mvx.Resolve<IMvxIosModalHost>(); _picker = new UIImagePickerController { //CameraCaptureMode = UIImagePickerControllerCameraCaptureMode.Photo, //CameraDevice = UIImagePickerControllerCameraDevice.Front }; _picker.FinishedPickingMedia += Picker_FinishedPickingMedia; _picker.FinishedPickingImage += Picker_FinishedPickingImage; _picker.Canceled += Picker_Canceled; }
public MyImagePickerTask() { _modalHost = Mvx.Resolve <IMvxIosModalHost>(); _picker = new UIImagePickerController { //CameraCaptureMode = UIImagePickerControllerCameraCaptureMode.Photo, //CameraDevice = UIImagePickerControllerCameraDevice.Rear }; _picker.NavigationBar.Translucent = false; _picker.NavigationBar.TintColor = UIColor.Blue; _picker.EdgesForExtendedLayout = UIRectEdge.None; _picker.FinishedPickingMedia += Picker_FinishedPickingMedia; _picker.FinishedPickingImage += Picker_FinishedPickingImage; _picker.Canceled += Picker_Canceled; }
public void ScanCardInfo(Action <AddCreditCard> callback, CreditCardScanOptions creditCardScanOptions = null) { if (creditCardScanOptions == null) { creditCardScanOptions = new CreditCardScanOptions(); } _callback = callback; _modalHost = Mvx.Resolve <IMvxIosModalHost>(); _paymentViewController = new CardIOPaymentViewController() { GuideColor = new UIColor(255, 255, 255, 1.0f)//ColorFromHex(creditCardScanOptions.GuideColor) }; _modalHost.PresentModalViewController(_paymentViewController, true); }
public MvxComposeEmailTask() { _modalHost = Mvx.Resolve<IMvxIosModalHost>(); }
public MvxComposeEmailTask() { _modalHost = Mvx.Resolve <IMvxIosModalHost>(); }
public SmsTask() { _modalHost = Mvx.Resolve<IMvxIosModalHost>(); }
public SmsTask() { _modalHost = Mvx.Resolve <IMvxIosModalHost>(); }
public MvxShareTask() { _modalHost = Mvx.Resolve<IMvxIosModalHost>(); }
public ShareService() { _modalHost = Mvx.Resolve<IMvxIosModalHost>(); }
public MvxShareTask() { _modalHost = Mvx.Resolve <IMvxIosModalHost>(); }
public ShareService(IMvxIosModalHost modelHost) { _modalHost = modelHost; }
public ShareService() { _modalHost = Mvx.Resolve <IMvxIosModalHost>(); }