目录
目录README.md

About_App

About_App is a drop-in About Page. It displays a single page with a product logo and additional information. It also handles rotation to landscape properly.

To use:

Add About_App as a Swift Package Dependency

Import About_App.

import About_App

Create an instance of About object. Create this where you will have access to pass it to the environment later.

let about = About()

Set the properties you want displayed. Most properties defualt to nil and will not display if not set explicitly.

about.appName = "My App"
about.createdBy = "Ferdinand G. Rios"
about.copyRight = "© 2020, My Company, Inc."
about.reservedRights = "All Rights Reserved"
about.companyName = "My Company, Inc."
about.address1 = "123 Any Street"
about.address2 = "Suite 1A"
about.city = "Big City"
about.state = "State of Mind"
about.zip = "1111"
about.webURL = "https://www.myapp.com"
about.twitter = "https://twitter.com/myapp"
about.facebook = "https://www.facebook.com/myapp"
about.linkedin = nil
about.instagram = "https://www.instagram.com/myapp"
about.supportString = nil
about.reviewString = "itms-apps://itunes.apple.com/app/id\(appID)"

Display the page and pass the About object into the environment.

AboutView()
    .environmentObject(about)
关于
229.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号