MapplsFeedbackUIKit 1.0.3

MapplsFeedbackUIKit 1.0.3

MapmyIndiaMapmyIndiaMapmyIndiaMapmyIndia 维护。





<html
lang="en"

data-color-mode="auto" data-light-theme="light" data-dark-theme="dark"
data-a11y-animated-images="system" data-a11y-link-underlines="true"














mappls-ios-sdk/docs/v1.0.0/MapplsFeedbackUIKit.md at main · mappls-api/mappls-ios-sdk · GitHub - CocoaPods 中文



<meta name="hovercard-subject-tag" content="repository:491393896" data-turbo-transient>


<meta name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I">

<meta name="user-login" content="">



<meta name="viewport" content="width=device-width">



  <meta name="description" content="A collection of Mappls&#39;s Map and others SDKs for Native iOS Development. - mappls-ios-sdk/docs/v1.0.0/MapplsFeedbackUIKit.md at main · mappls-api/mappls-ios-sdk">

  <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">

<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
<meta property="fb:app_id" content="1401488693436528">
<meta name="apple-itunes-app" content="app-id=1477376905, app-argument=https://github.com/mappls-api/mappls-ios-sdk/blob/main/docs/v1.0.0/MapplsFeedbackUIKit.md" />

  <meta name="twitter:image:src" content="https://opengraph.githubassets.com/a591ee763db4cebf1c384ad93fff04979f6932db2fcea74fd895a8ffb9c3259a/mappls-api/mappls-ios-sdk" /><meta name="twitter:site" content="@github" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:title" content="mappls-ios-sdk/docs/v1.0.0/MapplsFeedbackUIKit.md at main · mappls-api/mappls-ios-sdk" /><meta name="twitter:description" content="A collection of Mappls&#39;s Map and others SDKs for Native iOS Development. - mappls-api/mappls-ios-sdk" />

  <meta name="hostname" content="github.com">



    <meta name="expected-hostname" content="github.com">




  <meta name="turbo-cache-control" content="no-cache" data-turbo-transient>
<meta data-hydrostats="publish">

<meta name="turbo-body-classes" content="logged-out env-production page-responsive">





<div class="position-relative js-header-wrapper ">
  <a href="#start-of-content" data-skip-target-assigned="false" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a>

  <span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full">
<span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span>

<react-partial
partial-name="keyboard-shortcuts-dialog"
data-ssr="false"

  <div hidden="hidden" data-view-component="true" class="js-stale-session-flash stale-session-flash flash flash-warn flash-full mb-3">

    <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert">
<path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path>




<button id="icon-button-99e2d2ac-c3a9-41c6-a260-0f4121e918a2" aria-labelledby="tooltip-821ddf23-d78f-47a1-9c95-571cdbc34d15" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium flash-close js-flash-close">  <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x Button-visual">
<path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>


关闭警报


<div id="js-flash-container" class="flash-container" data-turbo-replace>


最新提交

 

历史

94行(55个LOC)· 5.68 KB

MapplsFeedbackUIKit.md

文件元数据和控件

94行(55个LOC)· 5.68 KB

MapplsFeedbackUIKit for iOS

MapplsFeedbackUIKit for IOS 是一个 UI 套件,用作 Mappls 反馈 API 的包装器。它允许开发者将反馈模块集成到他们的应用中。使用反馈模块,用户可以向 Mappls 服务器提交与位置相关的反馈。

注意:Mappls 还提供了带有源代码的 UI 视图控制器示例,用户可以直接使用以显示反馈屏幕。关于如何使用 UI 示例的信息也包含在本文档中。

如果您不想实现自己的逻辑并使用 Mappls 的示例,请转到“示例 UI 套件”部分。

版本 日期 描述
1.0.0 2022 年 6 月 22 日 初始发布。
1.0.1 2022 年 9 月 14 日 错误修复。
1.0.2 2022 年 9 月 23 日 添加了一个名为 isShowStepProgress 的布尔属性来隐藏步骤进度。

要使用 CocoaPods 安装 MapplsFeedbackUIKit

创建一个具有以下规范的 Podfile

pod 'MapplsFeedbackUIKit', '1.0.1'

运行 pod repo update && pod install 并打开生成的 Xcode 代码库。

要使用任何 MAPPL SDK,需要设置 Mappls 密钥。请参阅此处的文档。

MapplsFeedbackUIKitManager 是一个类,它将帮助使用此 UI 控件。访问该类的共享实例,并调用 getViewController 方法以获取 ViewController 的实例,并根据需要将其显示或推送。

isShowStepProgress:这是一个用于隐藏步骤进度的共享属性,其默认值为 true

Objective-C
CLLocation *location = [[CLLocation alloc] initWithLatitude:_mapView.centerCoordinate.latitude longitude:_mapView.centerCoordinate.longitude];

UINavigationController *navVC = [[MapplsFeedbackUIKitManager sharedManager] getViewControllerWithLocation:location moduleId:ModuleId];
[self presentViewController:navVC animated:YES completion:nil];
Swift
let navVC = MapplsFeedbackUIKitManager.shared.getViewController(location: CLLocation(latitude: mapView.centerCoordinate.latitude, longitude: mapView.centerCoordinate.longitude), moduleId: ModuleId)

self.present(navVC, animated: true, completion: nil)

MapplsFeedbackUIKit 隐式使用 MapplsFeedBackKitManager 模块的函数,并提供了提交反馈的美观用户体验。




我们许多快乐的客户


有关任何疑问和支持,请联系

通过电子邮件[email protected]

支持 需要支持?联系我们!



@ 版权 2022 CE Info Systems Pvt. Ltd. 保留所有权利。

<template id="site-details-dialog">



</div>

<div id="js-global-screen-reader-notice" class="sr-only mt-n1" aria-live="polite" aria-atomic="true" ></div>
<div id="js-global-screen-reader-notice-assertive" class="sr-only mt-n1" aria-live="assertive" aria-atomic="true"></div>