强制浅色,更换隐私政策和用户协议
@ -656,14 +656,19 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_IDENTITY = "Apple Distribution";
|
||||||
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution";
|
||||||
|
CODE_SIGN_STYLE = Manual;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
DEVELOPMENT_TEAM = 6HWQW9JC74;
|
DEVELOPMENT_TEAM = S7MWK7J6D7;
|
||||||
|
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = S7MWK7J6D7;
|
||||||
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||||
GCC_PREFIX_HEADER = "$(SRCROOT)/WallpaperHD_Live/Header/waperLivePCH.pch";
|
GCC_PREFIX_HEADER = "$(SRCROOT)/WallpaperHD_Live/Header/waperLivePCH.pch";
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = WallpaperHD_Live/Info.plist;
|
INFOPLIST_FILE = WallpaperHD_Live/Info.plist;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Lock Wallpaper";
|
INFOPLIST_KEY_CFBundleDisplayName = "Lock Wallpaper";
|
||||||
|
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "Lock Wallpaper needs to access your photo album so that when you click My Album on the homepage, you can store photos in your private album and save wallpapers to your album.";
|
||||||
|
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Lock Wallpaper needs access to your photo album so that you can upload photos to your private photo album and save wallpapers to your photo album.";
|
||||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||||
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
||||||
INFOPLIST_KEY_UIMainStoryboardFile = Main;
|
INFOPLIST_KEY_UIMainStoryboardFile = Main;
|
||||||
@ -675,8 +680,10 @@
|
|||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.520.cn.WallpaperHD-Live";
|
PRODUCT_BUNDLE_IDENTIFIER = com.free.lock.wallpaper;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
|
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = lockwallpaper;
|
||||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
||||||
SUPPORTS_MACCATALYST = NO;
|
SUPPORTS_MACCATALYST = NO;
|
||||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
|
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
|
||||||
@ -694,14 +701,19 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_IDENTITY = "Apple Distribution";
|
||||||
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution";
|
||||||
|
CODE_SIGN_STYLE = Manual;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
DEVELOPMENT_TEAM = 6HWQW9JC74;
|
DEVELOPMENT_TEAM = S7MWK7J6D7;
|
||||||
|
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = S7MWK7J6D7;
|
||||||
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||||
GCC_PREFIX_HEADER = "$(SRCROOT)/WallpaperHD_Live/Header/waperLivePCH.pch";
|
GCC_PREFIX_HEADER = "$(SRCROOT)/WallpaperHD_Live/Header/waperLivePCH.pch";
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = WallpaperHD_Live/Info.plist;
|
INFOPLIST_FILE = WallpaperHD_Live/Info.plist;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Lock Wallpaper";
|
INFOPLIST_KEY_CFBundleDisplayName = "Lock Wallpaper";
|
||||||
|
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "Lock Wallpaper needs to access your photo album so that when you click My Album on the homepage, you can store photos in your private album and save wallpapers to your album.";
|
||||||
|
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Lock Wallpaper needs access to your photo album so that you can upload photos to your private photo album and save wallpapers to your photo album.";
|
||||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||||
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
||||||
INFOPLIST_KEY_UIMainStoryboardFile = Main;
|
INFOPLIST_KEY_UIMainStoryboardFile = Main;
|
||||||
@ -713,8 +725,10 @@
|
|||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.520.cn.WallpaperHD-Live";
|
PRODUCT_BUNDLE_IDENTIFIER = com.free.lock.wallpaper;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
|
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = lockwallpaper;
|
||||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
||||||
SUPPORTS_MACCATALYST = NO;
|
SUPPORTS_MACCATALYST = NO;
|
||||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
|
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
|
||||||
|
|||||||
@ -16,7 +16,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||||||
IQKeyboardManager.shared.enable = true
|
IQKeyboardManager.shared.enable = true
|
||||||
window = UIWindow(frame: UIScreen.main.bounds)
|
window = UIWindow(frame: UIScreen.main.bounds)
|
||||||
// WP_TabbarCommon.TabBarController()
|
// WP_TabbarCommon.TabBarController()
|
||||||
|
// 强制设置浅色模式
|
||||||
|
if #available(iOS 13.0, *) {
|
||||||
|
window?.overrideUserInterfaceStyle = .light
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
let userDefaults = UserDefaults.standard
|
let userDefaults = UserDefaults.standard
|
||||||
@ -38,5 +42,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||||||
self.window?.makeKeyAndVisible()
|
self.window?.makeKeyAndVisible()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
23
WallpaperHD_Live/Assets.xcassets/album.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880767.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880767@2x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880767@3x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
WallpaperHD_Live/Assets.xcassets/album.imageset/Group 1597880767.png
vendored
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
WallpaperHD_Live/Assets.xcassets/album.imageset/Group 1597880767@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
WallpaperHD_Live/Assets.xcassets/album.imageset/Group 1597880767@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 116 KiB |
23
WallpaperHD_Live/Assets.xcassets/banner.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880770.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880770@2x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880770@3x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
WallpaperHD_Live/Assets.xcassets/banner.imageset/Group 1597880770.png
vendored
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
WallpaperHD_Live/Assets.xcassets/banner.imageset/Group 1597880770@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 260 KiB |
BIN
WallpaperHD_Live/Assets.xcassets/banner.imageset/Group 1597880770@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 531 KiB |
23
WallpaperHD_Live/Assets.xcassets/lock.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880768.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880768@2x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "Group 1597880768@3x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
WallpaperHD_Live/Assets.xcassets/lock.imageset/Group 1597880768.png
vendored
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
WallpaperHD_Live/Assets.xcassets/lock.imageset/Group 1597880768@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
WallpaperHD_Live/Assets.xcassets/lock.imageset/Group 1597880768@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 125 KiB |
21
WallpaperHD_Live/Assets.xcassets/logo.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "Image.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
WallpaperHD_Live/Assets.xcassets/logo.imageset/Image.png
vendored
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
@ -1,8 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
||||||
|
<device id="retina6_12" orientation="portrait" appearance="light"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
|
<deployment identifier="iOS"/>
|
||||||
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
|
||||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||||
|
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<scenes>
|
<scenes>
|
||||||
@ -11,10 +14,31 @@
|
|||||||
<objects>
|
<objects>
|
||||||
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
||||||
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
<subviews>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo" translatesAutoresizingMaskIntoConstraints="NO" id="Q29-2K-NGT">
|
||||||
|
<rect key="frame" x="96.666666666666686" y="119" width="200" height="200"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" constant="200" id="8Sm-O8-lbv"/>
|
||||||
|
<constraint firstAttribute="height" constant="200" id="HoS-Dw-o8y"/>
|
||||||
|
</constraints>
|
||||||
|
</imageView>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="LOCK WALLPAPER" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="w7Y-5c-Lwu">
|
||||||
|
<rect key="frame" x="118.66666666666669" y="339" width="156" height="21"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" weight="heavy" pointSize="17"/>
|
||||||
|
<nil key="textColor"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
||||||
|
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstItem="w7Y-5c-Lwu" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="2hG-ML-XRd"/>
|
||||||
|
<constraint firstItem="w7Y-5c-Lwu" firstAttribute="top" secondItem="Q29-2K-NGT" secondAttribute="bottom" constant="20" id="8ri-zA-Sdg"/>
|
||||||
|
<constraint firstItem="Q29-2K-NGT" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="keF-jd-ERE"/>
|
||||||
|
<constraint firstItem="Q29-2K-NGT" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" constant="60" id="mpB-vh-qc3"/>
|
||||||
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
@ -22,4 +46,10 @@
|
|||||||
<point key="canvasLocation" x="53" y="375"/>
|
<point key="canvasLocation" x="53" y="375"/>
|
||||||
</scene>
|
</scene>
|
||||||
</scenes>
|
</scenes>
|
||||||
|
<resources>
|
||||||
|
<image name="logo" width="1024" height="1024"/>
|
||||||
|
<systemColor name="systemBackgroundColor">
|
||||||
|
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
</systemColor>
|
||||||
|
</resources>
|
||||||
</document>
|
</document>
|
||||||
|
|||||||
@ -11,6 +11,10 @@ import JXSegmentedView
|
|||||||
import SnapKit
|
import SnapKit
|
||||||
class WP_HomeVC: WP_RootVC {
|
class WP_HomeVC: WP_RootVC {
|
||||||
|
|
||||||
|
|
||||||
|
@IBOutlet weak var openlabel: UILabel!
|
||||||
|
|
||||||
|
|
||||||
@IBOutlet weak var segmentedView: JXSegmentedView!
|
@IBOutlet weak var segmentedView: JXSegmentedView!
|
||||||
var segmentedDataSource = JXSegmentedTitleDataSource()
|
var segmentedDataSource = JXSegmentedTitleDataSource()
|
||||||
var listContainerView: JXSegmentedListContainerView!
|
var listContainerView: JXSegmentedListContainerView!
|
||||||
@ -23,8 +27,12 @@ class WP_HomeVC: WP_RootVC {
|
|||||||
override func viewWillAppear(_ animated: Bool) {
|
override func viewWillAppear(_ animated: Bool) {
|
||||||
super.viewWillAppear(animated)
|
super.viewWillAppear(animated)
|
||||||
self.navigationController?.navigationBar.isHidden = true
|
self.navigationController?.navigationBar.isHidden = true
|
||||||
|
let userDefaults = UserDefaults.standard
|
||||||
|
if userDefaults.bool(forKey: "islock"){
|
||||||
|
self.openlabel.text = "open"
|
||||||
|
}else{
|
||||||
|
self.openlabel.text = "closed"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
func setSegmentedViewUI(){
|
func setSegmentedViewUI(){
|
||||||
segmentedView.delegate = self
|
segmentedView.delegate = self
|
||||||
@ -60,12 +68,29 @@ class WP_HomeVC: WP_RootVC {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@IBAction func lockBtn(_ sender: Any) {
|
||||||
|
|
||||||
|
let vc = WP_LockVC()
|
||||||
|
vc.modalPresentationStyle = .fullScreen
|
||||||
|
vc.type = 1
|
||||||
|
self.present(vc, animated: true)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@IBAction func album(_ sender: Any) {
|
||||||
|
|
||||||
|
let vc = WP_PhotoAlbumVC()
|
||||||
|
navigationController?.pushViewController(vc, animated: true)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
extension WP_HomeVC:JXSegmentedListContainerViewDataSource,JXSegmentedViewDelegate {
|
extension WP_HomeVC:JXSegmentedListContainerViewDataSource,JXSegmentedViewDelegate {
|
||||||
//返回列表的数量
|
//返回列表的数量
|
||||||
func numberOfLists(in listContainerView: JXSegmentedListContainerView) -> Int {
|
func numberOfLists(in listContainerView: JXSegmentedListContainerView) -> Int {
|
||||||
return 4
|
return 4
|
||||||
}
|
}
|
||||||
|
|
||||||
//返回遵从`JXSegmentedListContainerViewListDelegate`协议的实例
|
//返回遵从`JXSegmentedListContainerViewListDelegate`协议的实例
|
||||||
func listContainerView(_ listContainerView: JXSegmentedListContainerView, initListAt index: Int) -> JXSegmentedListContainerViewListDelegate {
|
func listContainerView(_ listContainerView: JXSegmentedListContainerView, initListAt index: Int) -> JXSegmentedListContainerViewListDelegate {
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,7 @@
|
|||||||
<objects>
|
<objects>
|
||||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="WP_HomeVC" customModule="WallpaperHD_Live" customModuleProvider="target">
|
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="WP_HomeVC" customModule="WallpaperHD_Live" customModuleProvider="target">
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="openlabel" destination="YPz-C9-fUc" id="qLJ-Dn-IKD"/>
|
||||||
<outlet property="segmentedView" destination="j5O-9J-UYV" id="1Lj-VV-Dqk"/>
|
<outlet property="segmentedView" destination="j5O-9J-UYV" id="1Lj-VV-Dqk"/>
|
||||||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
||||||
</connections>
|
</connections>
|
||||||
@ -21,24 +22,120 @@
|
|||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="j5O-9J-UYV" customClass="JXSegmentedView" customModule="JXSegmentedView">
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="j5O-9J-UYV" customClass="JXSegmentedView" customModule="JXSegmentedView">
|
||||||
<rect key="frame" x="0.0" y="59" width="393" height="44"/>
|
<rect key="frame" x="0.0" y="279" width="393" height="44"/>
|
||||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="44" id="pvV-t9-Vwc"/>
|
<constraint firstAttribute="height" constant="44" id="pvV-t9-Vwc"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HNe-4A-kqr">
|
||||||
|
<rect key="frame" x="10" y="174" width="373" height="95"/>
|
||||||
|
<subviews>
|
||||||
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KZs-o8-eA6">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="186.66666666666666" height="95"/>
|
||||||
|
<subviews>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="album" translatesAutoresizingMaskIntoConstraints="NO" id="ahV-Vb-nua">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="181.66666666666666" height="95"/>
|
||||||
|
</imageView>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="My Album" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h5L-eT-ZOp">
|
||||||
|
<rect key="frame" x="16" y="61" width="78" height="20"/>
|
||||||
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
|
||||||
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RaU-sU-uh6">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="186.66666666666666" height="95"/>
|
||||||
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
|
<connections>
|
||||||
|
<action selector="album:" destination="-1" eventType="touchUpInside" id="pSF-9o-U8s"/>
|
||||||
|
</connections>
|
||||||
|
</button>
|
||||||
|
</subviews>
|
||||||
|
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstItem="ahV-Vb-nua" firstAttribute="top" secondItem="KZs-o8-eA6" secondAttribute="top" id="2cS-kC-fkg"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="ahV-Vb-nua" secondAttribute="bottom" id="7fc-ra-wLj"/>
|
||||||
|
<constraint firstItem="h5L-eT-ZOp" firstAttribute="leading" secondItem="KZs-o8-eA6" secondAttribute="leading" constant="16" id="CVN-Hd-uET"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="RaU-sU-uh6" secondAttribute="trailing" id="DwX-7y-btj"/>
|
||||||
|
<constraint firstItem="RaU-sU-uh6" firstAttribute="top" secondItem="KZs-o8-eA6" secondAttribute="top" id="Z16-ov-GZq"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="RaU-sU-uh6" secondAttribute="bottom" id="dA5-tu-mYX"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="h5L-eT-ZOp" secondAttribute="bottom" constant="14" id="dNX-3L-Bn1"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="ahV-Vb-nua" secondAttribute="trailing" constant="5" id="pVh-xL-vKB"/>
|
||||||
|
<constraint firstItem="ahV-Vb-nua" firstAttribute="leading" secondItem="KZs-o8-eA6" secondAttribute="leading" id="tHK-Gr-CwM"/>
|
||||||
|
<constraint firstItem="RaU-sU-uh6" firstAttribute="leading" secondItem="KZs-o8-eA6" secondAttribute="leading" id="zSZ-rQ-4ND"/>
|
||||||
|
</constraints>
|
||||||
|
</view>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="lock" translatesAutoresizingMaskIntoConstraints="NO" id="fcr-8p-Wx6">
|
||||||
|
<rect key="frame" x="191.66666666666663" y="0.0" width="181.33333333333337" height="95"/>
|
||||||
|
</imageView>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="OPEN" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YPz-C9-fUc">
|
||||||
|
<rect key="frame" x="202.66666666666666" y="29.999999999999996" width="34" height="14.333333333333332"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="12"/>
|
||||||
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tm5-Az-06Q">
|
||||||
|
<rect key="frame" x="191.66666666666663" y="0.0" width="181.33333333333337" height="95"/>
|
||||||
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
|
<connections>
|
||||||
|
<action selector="lockBtn:" destination="-1" eventType="touchUpInside" id="6C3-yL-8fp"/>
|
||||||
|
</connections>
|
||||||
|
</button>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="APP lock" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h2u-3b-zfc">
|
||||||
|
<rect key="frame" x="202.66666666666666" y="61" width="68.666666666666657" height="20"/>
|
||||||
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
|
||||||
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
</subviews>
|
||||||
|
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="KZs-o8-eA6" secondAttribute="bottom" id="3Hf-lU-NOD"/>
|
||||||
|
<constraint firstItem="h2u-3b-zfc" firstAttribute="leading" secondItem="KZs-o8-eA6" secondAttribute="trailing" constant="16" id="B1n-Zm-Tou"/>
|
||||||
|
<constraint firstItem="YPz-C9-fUc" firstAttribute="top" secondItem="HNe-4A-kqr" secondAttribute="top" constant="30" id="DT8-bp-OzC"/>
|
||||||
|
<constraint firstItem="KZs-o8-eA6" firstAttribute="width" secondItem="HNe-4A-kqr" secondAttribute="width" multiplier="0.5" id="LEy-Kx-WAD"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="Tm5-Az-06Q" secondAttribute="trailing" id="PgR-lh-Kzr"/>
|
||||||
|
<constraint firstItem="fcr-8p-Wx6" firstAttribute="top" secondItem="HNe-4A-kqr" secondAttribute="top" id="QER-H5-BTV"/>
|
||||||
|
<constraint firstItem="Tm5-Az-06Q" firstAttribute="leading" secondItem="KZs-o8-eA6" secondAttribute="trailing" constant="5" id="Qh3-X5-TvZ"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="fcr-8p-Wx6" secondAttribute="bottom" id="RIk-Ds-dA8"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="fcr-8p-Wx6" secondAttribute="trailing" id="Sdg-Ty-CUc"/>
|
||||||
|
<constraint firstAttribute="height" constant="95" id="VZK-E4-jRX"/>
|
||||||
|
<constraint firstItem="YPz-C9-fUc" firstAttribute="leading" secondItem="KZs-o8-eA6" secondAttribute="trailing" constant="16" id="k3y-qA-6oF"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="h2u-3b-zfc" secondAttribute="bottom" constant="14" id="kbu-Jt-mP8"/>
|
||||||
|
<constraint firstItem="KZs-o8-eA6" firstAttribute="leading" secondItem="HNe-4A-kqr" secondAttribute="leading" id="tgO-51-Vab"/>
|
||||||
|
<constraint firstItem="fcr-8p-Wx6" firstAttribute="leading" secondItem="KZs-o8-eA6" secondAttribute="trailing" constant="5" id="uGe-xB-7Uo"/>
|
||||||
|
<constraint firstItem="Tm5-Az-06Q" firstAttribute="top" secondItem="HNe-4A-kqr" secondAttribute="top" id="vOb-hs-3fC"/>
|
||||||
|
<constraint firstItem="KZs-o8-eA6" firstAttribute="top" secondItem="HNe-4A-kqr" secondAttribute="top" id="wFK-uy-UQQ"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="Tm5-Az-06Q" secondAttribute="bottom" id="wqp-9g-grT"/>
|
||||||
|
</constraints>
|
||||||
|
</view>
|
||||||
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="banner" translatesAutoresizingMaskIntoConstraints="NO" id="oAj-Ju-Q7b">
|
||||||
|
<rect key="frame" x="10" y="64" width="373" height="100"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="height" constant="100" id="d8W-Ad-KOL"/>
|
||||||
|
</constraints>
|
||||||
|
</imageView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
|
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="j5O-9J-UYV" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="Jw3-0t-8IA"/>
|
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="HNe-4A-kqr" secondAttribute="trailing" constant="10" id="9MI-4a-6Pc"/>
|
||||||
|
<constraint firstItem="HNe-4A-kqr" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="10" id="Ehw-5V-rmg"/>
|
||||||
|
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="oAj-Ju-Q7b" secondAttribute="trailing" constant="10" id="FQz-uP-Rfm"/>
|
||||||
|
<constraint firstItem="oAj-Ju-Q7b" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="5" id="SjJ-jt-7X1"/>
|
||||||
|
<constraint firstItem="HNe-4A-kqr" firstAttribute="top" secondItem="oAj-Ju-Q7b" secondAttribute="bottom" constant="10" id="czg-lV-eHU"/>
|
||||||
|
<constraint firstItem="oAj-Ju-Q7b" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="10" id="gYP-Sg-Klh"/>
|
||||||
<constraint firstItem="j5O-9J-UYV" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="hd3-TZ-w2r"/>
|
<constraint firstItem="j5O-9J-UYV" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="hd3-TZ-w2r"/>
|
||||||
<constraint firstItem="j5O-9J-UYV" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="jRB-m0-PdN"/>
|
<constraint firstItem="j5O-9J-UYV" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="jRB-m0-PdN"/>
|
||||||
|
<constraint firstItem="j5O-9J-UYV" firstAttribute="top" secondItem="HNe-4A-kqr" secondAttribute="bottom" constant="10" id="zXH-wk-E63"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<point key="canvasLocation" x="129" y="-11"/>
|
<point key="canvasLocation" x="127.48091603053435" y="-11.267605633802818"/>
|
||||||
</view>
|
</view>
|
||||||
</objects>
|
</objects>
|
||||||
<resources>
|
<resources>
|
||||||
|
<image name="album" width="170" height="100"/>
|
||||||
|
<image name="banner" width="347" height="100"/>
|
||||||
|
<image name="lock" width="170" height="100"/>
|
||||||
<systemColor name="systemBackgroundColor">
|
<systemColor name="systemBackgroundColor">
|
||||||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
</systemColor>
|
</systemColor>
|
||||||
|
|||||||
@ -1,21 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||||
<device id="retina6_1" orientation="portrait" appearance="light"/>
|
<device id="retina6_1" orientation="portrait" appearance="light"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="iOS"/>
|
<deployment identifier="iOS"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
|
||||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||||
|
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||||
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="WA_PreView" customModule="wallpaper_project" customModuleProvider="target">
|
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="WA_PreView" customModule="WallpaperHD_Live" customModuleProvider="target">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
|
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="9:56" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="V2o-Zk-KzH">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="10:00" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="V2o-Zk-KzH">
|
||||||
<rect key="frame" x="131" y="68" width="152.5" height="84"/>
|
<rect key="frame" x="112.5" y="68" width="189" height="84"/>
|
||||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="70"/>
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="70"/>
|
||||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
@ -31,7 +32,7 @@
|
|||||||
</constraints>
|
</constraints>
|
||||||
</imageView>
|
</imageView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="backgroundColor" systemColor="systemBrownColor"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="50" id="FJl-52-yMQ"/>
|
<constraint firstAttribute="height" constant="50" id="FJl-52-yMQ"/>
|
||||||
<constraint firstItem="iTX-YT-JsN" firstAttribute="centerX" secondItem="bLN-cP-2sK" secondAttribute="centerX" id="OHt-Oe-5oF"/>
|
<constraint firstItem="iTX-YT-JsN" firstAttribute="centerX" secondItem="bLN-cP-2sK" secondAttribute="centerX" id="OHt-Oe-5oF"/>
|
||||||
@ -50,7 +51,7 @@
|
|||||||
</constraints>
|
</constraints>
|
||||||
</imageView>
|
</imageView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="backgroundColor" systemColor="systemBrownColor"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="OZV-d6-bX8" firstAttribute="centerY" secondItem="NJA-rF-sMi" secondAttribute="centerY" id="39Y-jB-UbK"/>
|
<constraint firstItem="OZV-d6-bX8" firstAttribute="centerY" secondItem="NJA-rF-sMi" secondAttribute="centerY" id="39Y-jB-UbK"/>
|
||||||
<constraint firstAttribute="width" constant="50" id="MQS-vg-2zn"/>
|
<constraint firstAttribute="width" constant="50" id="MQS-vg-2zn"/>
|
||||||
@ -58,8 +59,8 @@
|
|||||||
<constraint firstAttribute="height" constant="50" id="t2q-Lc-wBh"/>
|
<constraint firstAttribute="height" constant="50" id="t2q-Lc-wBh"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="3月12 星期二" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M0r-Rm-mO7">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Wednesday, July 24" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M0r-Rm-mO7">
|
||||||
<rect key="frame" x="148" y="152" width="118.5" height="24"/>
|
<rect key="frame" x="119.5" y="152" width="175.5" height="24"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
||||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
@ -99,5 +100,8 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<image name="camera" width="48" height="48"/>
|
<image name="camera" width="48" height="48"/>
|
||||||
<image name="flashlight" width="48" height="48"/>
|
<image name="flashlight" width="48" height="48"/>
|
||||||
|
<systemColor name="systemBrownColor">
|
||||||
|
<color red="0.63529411764705879" green="0.51764705882352946" blue="0.36862745098039218" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
|
</systemColor>
|
||||||
</resources>
|
</resources>
|
||||||
</document>
|
</document>
|
||||||
|
|||||||
@ -2,10 +2,6 @@
|
|||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSPhotoLibraryUsageDescription</key>
|
|
||||||
<string>Wallpaper Home needs access to your photo album to update your profile picture, save wallpapers to your album, and share updates within the community.</string>
|
|
||||||
<key>NSPhotoLibraryAddUsageDescription</key>
|
|
||||||
<string>Wallpaper Home needs access to your photo album to update your profile picture, save wallpapers to your album, and share updates within the community.</string>
|
|
||||||
<key>NSAppTransportSecurity</key>
|
<key>NSAppTransportSecurity</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSAllowsArbitraryLoads</key>
|
<key>NSAllowsArbitraryLoads</key>
|
||||||
|
|||||||
@ -19,15 +19,15 @@
|
|||||||
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
|
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="yn1-OI-rfk">
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo" translatesAutoresizingMaskIntoConstraints="NO" id="yn1-OI-rfk">
|
||||||
<rect key="frame" x="147" y="108" width="120" height="120"/>
|
<rect key="frame" x="147" y="108" width="120" height="120"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" constant="120" id="Uw6-Cc-LDN"/>
|
<constraint firstAttribute="width" constant="120" id="Uw6-Cc-LDN"/>
|
||||||
<constraint firstAttribute="height" constant="120" id="kZN-S6-XMx"/>
|
<constraint firstAttribute="height" constant="120" id="kZN-S6-XMx"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
</imageView>
|
</imageView>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Mine" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8ZS-PO-y6g">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="About" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8ZS-PO-y6g">
|
||||||
<rect key="frame" x="180" y="48" width="54.5" height="27.5"/>
|
<rect key="frame" x="172.5" y="48" width="69" height="27.5"/>
|
||||||
<fontDescription key="fontDescription" type="system" weight="heavy" pointSize="23"/>
|
<fontDescription key="fontDescription" type="system" weight="heavy" pointSize="23"/>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
@ -44,9 +44,14 @@
|
|||||||
<action selector="back:" destination="-1" eventType="touchUpInside" id="FSk-PH-URH"/>
|
<action selector="back:" destination="-1" eventType="touchUpInside" id="FSk-PH-URH"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="I hope to bring you a good user experience" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zMb-Df-bxr">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zMb-Df-bxr">
|
||||||
<rect key="frame" x="10" y="238" width="394" height="21"/>
|
<rect key="frame" x="10" y="248" width="394" height="115"/>
|
||||||
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/>
|
<string key="text">I hope to bring you a good user experience,
|
||||||
|
|
||||||
|
and I also hope that you can find your favorite wallpaper
|
||||||
|
|
||||||
|
We welcome your feedback</string>
|
||||||
|
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
|
||||||
<nil key="textColor"/>
|
<nil key="textColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
@ -59,7 +64,7 @@
|
|||||||
<constraint firstItem="yn1-OI-rfk" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="60" id="BCo-nD-ort"/>
|
<constraint firstItem="yn1-OI-rfk" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="60" id="BCo-nD-ort"/>
|
||||||
<constraint firstItem="8ZS-PO-y6g" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Bf8-vo-Ho6"/>
|
<constraint firstItem="8ZS-PO-y6g" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Bf8-vo-Ho6"/>
|
||||||
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="zMb-Df-bxr" secondAttribute="trailing" constant="10" id="C1i-tM-Ryu"/>
|
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="zMb-Df-bxr" secondAttribute="trailing" constant="10" id="C1i-tM-Ryu"/>
|
||||||
<constraint firstItem="zMb-Df-bxr" firstAttribute="top" secondItem="yn1-OI-rfk" secondAttribute="bottom" constant="10" id="Nz7-mf-j6z"/>
|
<constraint firstItem="zMb-Df-bxr" firstAttribute="top" secondItem="yn1-OI-rfk" secondAttribute="bottom" constant="20" id="Nz7-mf-j6z"/>
|
||||||
<constraint firstItem="zMb-Df-bxr" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="QFs-dP-KsT"/>
|
<constraint firstItem="zMb-Df-bxr" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="QFs-dP-KsT"/>
|
||||||
<constraint firstItem="8ZS-PO-y6g" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="pf1-F1-xdX"/>
|
<constraint firstItem="8ZS-PO-y6g" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="pf1-F1-xdX"/>
|
||||||
<constraint firstItem="cbW-U5-RSd" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="20" id="v98-Pj-KMy"/>
|
<constraint firstItem="cbW-U5-RSd" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="20" id="v98-Pj-KMy"/>
|
||||||
@ -70,6 +75,7 @@
|
|||||||
</objects>
|
</objects>
|
||||||
<resources>
|
<resources>
|
||||||
<image name="back_black" width="20" height="20"/>
|
<image name="back_black" width="20" height="20"/>
|
||||||
|
<image name="logo" width="1024" height="1024"/>
|
||||||
<systemColor name="systemBackgroundColor">
|
<systemColor name="systemBackgroundColor">
|
||||||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
</systemColor>
|
</systemColor>
|
||||||
|
|||||||
@ -28,6 +28,7 @@ class WP_FeedVC: WP_RootVC,UITextViewDelegate {
|
|||||||
feedTextV.layer.borderColor = UIColor.black.cgColor
|
feedTextV.layer.borderColor = UIColor.black.cgColor
|
||||||
feedTextV.layer.borderWidth = 1
|
feedTextV.layer.borderWidth = 1
|
||||||
sureBtn.layer.cornerRadius = 10
|
sureBtn.layer.cornerRadius = 10
|
||||||
|
feedTextV.delegate = self
|
||||||
}
|
}
|
||||||
|
|
||||||
func textViewDidChange(_ textView: UITextView) {
|
func textViewDidChange(_ textView: UITextView) {
|
||||||
|
|||||||
@ -8,10 +8,10 @@
|
|||||||
import UIKit
|
import UIKit
|
||||||
|
|
||||||
class WP_MineVC: WP_RootVC {
|
class WP_MineVC: WP_RootVC {
|
||||||
|
|
||||||
@IBOutlet weak var aboutV: UIView!
|
@IBOutlet weak var aboutV: UIView!
|
||||||
|
|
||||||
|
|
||||||
@IBOutlet weak var phototView: UIView!
|
|
||||||
|
|
||||||
@IBOutlet weak var collectView: UIView!
|
@IBOutlet weak var collectView: UIView!
|
||||||
|
|
||||||
@ -22,12 +22,6 @@ class WP_MineVC: WP_RootVC {
|
|||||||
@IBOutlet weak var userView: UIView!
|
@IBOutlet weak var userView: UIView!
|
||||||
|
|
||||||
|
|
||||||
@IBOutlet weak var lockView: UIView!
|
|
||||||
|
|
||||||
|
|
||||||
@IBOutlet weak var lockIsopen: UILabel!
|
|
||||||
|
|
||||||
|
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
||||||
@ -36,19 +30,14 @@ class WP_MineVC: WP_RootVC {
|
|||||||
privacyView.layer.cornerRadius = 10
|
privacyView.layer.cornerRadius = 10
|
||||||
feedView.layer.cornerRadius = 10
|
feedView.layer.cornerRadius = 10
|
||||||
userView.layer.cornerRadius = 10
|
userView.layer.cornerRadius = 10
|
||||||
lockView.layer.cornerRadius = 10
|
|
||||||
phototView.layer.cornerRadius = 10
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewWillAppear(_ animated: Bool) {
|
override func viewWillAppear(_ animated: Bool) {
|
||||||
super.viewWillAppear(animated)
|
super.viewWillAppear(animated)
|
||||||
self.navigationController?.navigationBar.isHidden = true
|
self.navigationController?.navigationBar.isHidden = true
|
||||||
let userDefaults = UserDefaults.standard
|
|
||||||
if userDefaults.bool(forKey: "islock"){
|
|
||||||
self.lockIsopen.text = "open"
|
|
||||||
}else{
|
|
||||||
self.lockIsopen.text = "closed"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -57,26 +46,21 @@ class WP_MineVC: WP_RootVC {
|
|||||||
navigationController?.pushViewController(vc, animated: true)
|
navigationController?.pushViewController(vc, animated: true)
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func photoBtn(_ sender: Any) {
|
|
||||||
let vc = WP_PhotoAlbumVC()
|
|
||||||
navigationController?.pushViewController(vc, animated: true)
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@IBAction func privacyBtn(_ sender: Any) {
|
@IBAction func privacyBtn(_ sender: Any) {
|
||||||
|
|
||||||
let vc = WP_PrivacyVC()
|
let vc = WP_PrivacyVC()
|
||||||
vc.type = 0
|
vc.type = 0
|
||||||
self.present(vc, animated: true)
|
self.present(vc, animated: true)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@IBAction func collectionbtn(_ sender: Any) {
|
@IBAction func collectionbtn(_ sender: Any) {
|
||||||
let vc = WP_CollectionVC()
|
let vc = WP_CollectionVC()
|
||||||
self.navigationController?.pushViewController(vc, animated: true)
|
self.navigationController?.pushViewController(vc, animated: true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@IBAction func feedBtn(_ sender: Any) {
|
@IBAction func feedBtn(_ sender: Any) {
|
||||||
let vc = WP_FeedVC()
|
let vc = WP_FeedVC()
|
||||||
navigationController?.pushViewController(vc, animated: true)
|
navigationController?.pushViewController(vc, animated: true)
|
||||||
@ -89,12 +73,6 @@ class WP_MineVC: WP_RootVC {
|
|||||||
self.present(vc, animated: true)
|
self.present(vc, animated: true)
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func lock(_ sender: Any) {
|
|
||||||
let vc = WP_LockVC()
|
|
||||||
vc.modalPresentationStyle = .fullScreen
|
|
||||||
vc.type = 1
|
|
||||||
self.present(vc, animated: true)
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,9 +14,6 @@
|
|||||||
<outlet property="aboutV" destination="ILs-G9-o05" id="qVI-Yk-3ir"/>
|
<outlet property="aboutV" destination="ILs-G9-o05" id="qVI-Yk-3ir"/>
|
||||||
<outlet property="collectView" destination="cyL-T6-KQd" id="TrF-b2-Pn1"/>
|
<outlet property="collectView" destination="cyL-T6-KQd" id="TrF-b2-Pn1"/>
|
||||||
<outlet property="feedView" destination="JfU-6J-vjV" id="nmY-GV-j23"/>
|
<outlet property="feedView" destination="JfU-6J-vjV" id="nmY-GV-j23"/>
|
||||||
<outlet property="lockIsopen" destination="CPJ-Hi-JVY" id="PSU-LM-oBc"/>
|
|
||||||
<outlet property="lockView" destination="MxQ-ri-fEb" id="yrv-ka-PHL"/>
|
|
||||||
<outlet property="phototView" destination="weq-vL-NFC" id="Bhr-XV-peC"/>
|
|
||||||
<outlet property="privacyView" destination="qVq-9Z-lcW" id="8rX-Uz-2cY"/>
|
<outlet property="privacyView" destination="qVq-9Z-lcW" id="8rX-Uz-2cY"/>
|
||||||
<outlet property="userView" destination="C1J-K7-gh1" id="2lh-64-iFV"/>
|
<outlet property="userView" destination="C1J-K7-gh1" id="2lh-64-iFV"/>
|
||||||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
||||||
@ -233,101 +230,14 @@
|
|||||||
<constraint firstItem="C1J-K7-gh1" firstAttribute="top" secondItem="zWR-5M-ZT0" secondAttribute="top" id="sq2-rZ-zsX"/>
|
<constraint firstItem="C1J-K7-gh1" firstAttribute="top" secondItem="zWR-5M-ZT0" secondAttribute="top" id="sq2-rZ-zsX"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MxQ-ri-fEb">
|
|
||||||
<rect key="frame" x="203" y="0.0" width="191" height="100"/>
|
|
||||||
<subviews>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="App Lock" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="v3J-IJ-48K">
|
|
||||||
<rect key="frame" x="50" y="38" width="91" height="24"/>
|
|
||||||
<fontDescription key="fontDescription" type="system" weight="heavy" pointSize="20"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="open" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CPJ-Hi-JVY">
|
|
||||||
<rect key="frame" x="73.5" y="67" width="44.5" height="23"/>
|
|
||||||
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="19"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Z8R-2c-o6S">
|
|
||||||
<rect key="frame" x="0.0" y="0.0" width="191" height="100"/>
|
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
||||||
<connections>
|
|
||||||
<action selector="lock:" destination="-1" eventType="touchUpInside" id="iJo-zt-OzR"/>
|
|
||||||
</connections>
|
|
||||||
</button>
|
|
||||||
</subviews>
|
|
||||||
<color key="backgroundColor" systemColor="systemBrownColor"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="Z8R-2c-o6S" secondAttribute="bottom" id="8yJ-iO-q8D"/>
|
|
||||||
<constraint firstItem="CPJ-Hi-JVY" firstAttribute="top" secondItem="v3J-IJ-48K" secondAttribute="bottom" constant="5" id="9qw-58-bba"/>
|
|
||||||
<constraint firstAttribute="trailing" secondItem="Z8R-2c-o6S" secondAttribute="trailing" id="MNe-ZA-ayf"/>
|
|
||||||
<constraint firstItem="v3J-IJ-48K" firstAttribute="centerY" secondItem="MxQ-ri-fEb" secondAttribute="centerY" id="MUf-vQ-ZEW"/>
|
|
||||||
<constraint firstItem="v3J-IJ-48K" firstAttribute="centerX" secondItem="MxQ-ri-fEb" secondAttribute="centerX" id="pQJ-QU-GK6"/>
|
|
||||||
<constraint firstItem="Z8R-2c-o6S" firstAttribute="leading" secondItem="MxQ-ri-fEb" secondAttribute="leading" id="reP-6c-Stf"/>
|
|
||||||
<constraint firstItem="Z8R-2c-o6S" firstAttribute="top" secondItem="MxQ-ri-fEb" secondAttribute="top" id="t7h-fa-Uiz"/>
|
|
||||||
<constraint firstItem="CPJ-Hi-JVY" firstAttribute="centerX" secondItem="MxQ-ri-fEb" secondAttribute="centerX" id="wsj-WR-TqS"/>
|
|
||||||
</constraints>
|
|
||||||
</view>
|
|
||||||
</subviews>
|
</subviews>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="MxQ-ri-fEb" firstAttribute="top" secondItem="4S0-3t-wiH" secondAttribute="top" id="3AO-Mj-E5X"/>
|
|
||||||
<constraint firstItem="zWR-5M-ZT0" firstAttribute="top" secondItem="4S0-3t-wiH" secondAttribute="top" id="EaW-XH-7GO"/>
|
<constraint firstItem="zWR-5M-ZT0" firstAttribute="top" secondItem="4S0-3t-wiH" secondAttribute="top" id="EaW-XH-7GO"/>
|
||||||
<constraint firstItem="zWR-5M-ZT0" firstAttribute="width" secondItem="4S0-3t-wiH" secondAttribute="width" multiplier="1:2" constant="1" id="MXo-cm-VMb"/>
|
<constraint firstItem="zWR-5M-ZT0" firstAttribute="width" secondItem="4S0-3t-wiH" secondAttribute="width" multiplier="1:2" constant="1" id="MXo-cm-VMb"/>
|
||||||
<constraint firstItem="MxQ-ri-fEb" firstAttribute="leading" secondItem="zWR-5M-ZT0" secondAttribute="trailing" constant="5" id="O89-LR-T2P"/>
|
|
||||||
<constraint firstItem="zWR-5M-ZT0" firstAttribute="leading" secondItem="4S0-3t-wiH" secondAttribute="leading" id="e8E-35-xXA"/>
|
<constraint firstItem="zWR-5M-ZT0" firstAttribute="leading" secondItem="4S0-3t-wiH" secondAttribute="leading" id="e8E-35-xXA"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="MxQ-ri-fEb" secondAttribute="trailing" id="mV9-uB-KS1"/>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="zWR-5M-ZT0" secondAttribute="bottom" id="qk4-sQ-Dt9"/>
|
<constraint firstAttribute="bottom" secondItem="zWR-5M-ZT0" secondAttribute="bottom" id="qk4-sQ-Dt9"/>
|
||||||
<constraint firstAttribute="height" constant="100" id="umw-nH-mcJ"/>
|
<constraint firstAttribute="height" constant="100" id="umw-nH-mcJ"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="MxQ-ri-fEb" secondAttribute="bottom" id="zPY-iw-0XM"/>
|
|
||||||
</constraints>
|
|
||||||
</view>
|
|
||||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="I2p-so-cUT">
|
|
||||||
<rect key="frame" x="10" y="465.5" width="394" height="100"/>
|
|
||||||
<subviews>
|
|
||||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ttn-qd-CJ7">
|
|
||||||
<rect key="frame" x="0.0" y="0.0" width="198" height="100"/>
|
|
||||||
<subviews>
|
|
||||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="weq-vL-NFC">
|
|
||||||
<rect key="frame" x="0.0" y="0.0" width="193" height="100"/>
|
|
||||||
<color key="backgroundColor" systemColor="systemBrownColor"/>
|
|
||||||
</view>
|
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Photo Album" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kiw-GM-AKb">
|
|
||||||
<rect key="frame" x="36" y="38" width="126" height="24"/>
|
|
||||||
<fontDescription key="fontDescription" type="system" weight="heavy" pointSize="20"/>
|
|
||||||
<nil key="textColor"/>
|
|
||||||
<nil key="highlightedColor"/>
|
|
||||||
</label>
|
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9KX-XW-4dK">
|
|
||||||
<rect key="frame" x="0.0" y="0.0" width="198" height="100"/>
|
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
||||||
<connections>
|
|
||||||
<action selector="photoBtn:" destination="-1" eventType="touchUpInside" id="HNo-k4-lwk"/>
|
|
||||||
</connections>
|
|
||||||
</button>
|
|
||||||
</subviews>
|
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="trailing" secondItem="weq-vL-NFC" secondAttribute="trailing" constant="5" id="3Ll-6Y-Bw0"/>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="weq-vL-NFC" secondAttribute="bottom" id="65I-X4-9jE"/>
|
|
||||||
<constraint firstItem="9KX-XW-4dK" firstAttribute="leading" secondItem="Ttn-qd-CJ7" secondAttribute="leading" id="CNp-4H-RYC"/>
|
|
||||||
<constraint firstItem="kiw-GM-AKb" firstAttribute="centerY" secondItem="Ttn-qd-CJ7" secondAttribute="centerY" id="Db5-S6-XHN"/>
|
|
||||||
<constraint firstItem="9KX-XW-4dK" firstAttribute="top" secondItem="Ttn-qd-CJ7" secondAttribute="top" id="IBf-7v-4Km"/>
|
|
||||||
<constraint firstAttribute="trailing" secondItem="9KX-XW-4dK" secondAttribute="trailing" id="NfB-rH-7kk"/>
|
|
||||||
<constraint firstItem="weq-vL-NFC" firstAttribute="leading" secondItem="Ttn-qd-CJ7" secondAttribute="leading" id="bsf-uo-LqU"/>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="9KX-XW-4dK" secondAttribute="bottom" id="gM8-Eh-qYD"/>
|
|
||||||
<constraint firstItem="weq-vL-NFC" firstAttribute="top" secondItem="Ttn-qd-CJ7" secondAttribute="top" id="qXP-C7-czN"/>
|
|
||||||
<constraint firstItem="kiw-GM-AKb" firstAttribute="centerX" secondItem="Ttn-qd-CJ7" secondAttribute="centerX" id="qer-D9-lgr"/>
|
|
||||||
</constraints>
|
|
||||||
</view>
|
|
||||||
</subviews>
|
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstItem="Ttn-qd-CJ7" firstAttribute="top" secondItem="I2p-so-cUT" secondAttribute="top" id="9Ag-LO-aBU"/>
|
|
||||||
<constraint firstItem="Ttn-qd-CJ7" firstAttribute="leading" secondItem="I2p-so-cUT" secondAttribute="leading" id="Eil-Sj-oz8"/>
|
|
||||||
<constraint firstAttribute="height" constant="100" id="gng-aW-bNm"/>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="Ttn-qd-CJ7" secondAttribute="bottom" id="snr-hp-ZrZ"/>
|
|
||||||
<constraint firstItem="Ttn-qd-CJ7" firstAttribute="width" secondItem="I2p-so-cUT" secondAttribute="width" multiplier="1:2" constant="1" id="w1I-dE-twM"/>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
</subviews>
|
</subviews>
|
||||||
@ -339,15 +249,12 @@
|
|||||||
<constraint firstAttribute="trailing" secondItem="4S0-3t-wiH" secondAttribute="trailing" constant="10" id="NIu-Hf-gG1"/>
|
<constraint firstAttribute="trailing" secondItem="4S0-3t-wiH" secondAttribute="trailing" constant="10" id="NIu-Hf-gG1"/>
|
||||||
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="OHV-w1-Awf" secondAttribute="trailing" constant="10" id="O48-XB-m4x"/>
|
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="OHV-w1-Awf" secondAttribute="trailing" constant="10" id="O48-XB-m4x"/>
|
||||||
<constraint firstItem="gdb-2u-fIh" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="10" id="Ysw-4k-snx"/>
|
<constraint firstItem="gdb-2u-fIh" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="10" id="Ysw-4k-snx"/>
|
||||||
<constraint firstItem="I2p-so-cUT" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="10" id="asO-jx-1QO"/>
|
|
||||||
<constraint firstItem="OHV-w1-Awf" firstAttribute="top" secondItem="uRm-23-oaA" secondAttribute="bottom" constant="20" id="br5-pF-e6C"/>
|
<constraint firstItem="OHV-w1-Awf" firstAttribute="top" secondItem="uRm-23-oaA" secondAttribute="bottom" constant="20" id="br5-pF-e6C"/>
|
||||||
<constraint firstItem="I2p-so-cUT" firstAttribute="top" secondItem="4S0-3t-wiH" secondAttribute="bottom" constant="20" id="byN-Ip-biX"/>
|
|
||||||
<constraint firstItem="4S0-3t-wiH" firstAttribute="top" secondItem="OHV-w1-Awf" secondAttribute="bottom" constant="20" id="cJo-O1-Tsz"/>
|
<constraint firstItem="4S0-3t-wiH" firstAttribute="top" secondItem="OHV-w1-Awf" secondAttribute="bottom" constant="20" id="cJo-O1-Tsz"/>
|
||||||
<constraint firstItem="4S0-3t-wiH" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="10" id="fvM-ui-pil"/>
|
<constraint firstItem="4S0-3t-wiH" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="10" id="fvM-ui-pil"/>
|
||||||
<constraint firstItem="gdb-2u-fIh" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="jMj-kn-Ca7"/>
|
<constraint firstItem="gdb-2u-fIh" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="jMj-kn-Ca7"/>
|
||||||
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="uRm-23-oaA" secondAttribute="trailing" constant="10" id="nMe-By-Nyz"/>
|
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="uRm-23-oaA" secondAttribute="trailing" constant="10" id="nMe-By-Nyz"/>
|
||||||
<constraint firstItem="uRm-23-oaA" firstAttribute="top" secondItem="gdb-2u-fIh" secondAttribute="bottom" constant="20" id="tRh-jp-fcD"/>
|
<constraint firstItem="uRm-23-oaA" firstAttribute="top" secondItem="gdb-2u-fIh" secondAttribute="bottom" constant="20" id="tRh-jp-fcD"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="I2p-so-cUT" secondAttribute="trailing" constant="10" id="yMv-D9-71q"/>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
<point key="canvasLocation" x="65" y="-11"/>
|
<point key="canvasLocation" x="65" y="-11"/>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -17,13 +17,13 @@ class WP_PrivacyVC: WP_RootVC {
|
|||||||
view = webView
|
view = webView
|
||||||
|
|
||||||
if type == 0 {
|
if type == 0 {
|
||||||
if let url = URL(string: "https://wallpaperhomewail.bitbucket.io/privacy.html") {
|
if let url = URL(string: "https://lockwallpaper.mystrikingly.com/privacy") {
|
||||||
let request = URLRequest(url: url)
|
let request = URLRequest(url: url)
|
||||||
webView.load(request)
|
webView.load(request)
|
||||||
}
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
if let url = URL(string: "https://wallpaperhomewail.bitbucket.io/terms.html") {
|
if let url = URL(string: "https://lockwallpaper.mystrikingly.com/terms") {
|
||||||
let request = URLRequest(url: url)
|
let request = URLRequest(url: url)
|
||||||
webView.load(request)
|
webView.load(request)
|
||||||
}
|
}
|
||||||
|
|||||||