DESCRIPTION: an application for viewing metadata and the location on the map where the photo was taken, if data is available. You can select an image from the phone's photo gallery or download it by URL.
DETAILS: UIKit, MVP-C, CocoaPods: Yandex MapKit, SwiftLint
INSTALLATION
-
Get the Yandex MapKit API key:
- Go to the Developer Dashboard.
- Log in to your Yandex account or create a new one.
- Click Connect APIs and choose MapKit Mobile SDK.
- Enter information about yourself and your project, select a pricing plan, and click Continue.
- After your API key is successfully created, it will be available in the API Interfaces → MapKit Mobile SDK tab.
NOTE: It takes about 15 minutes to activate API keys.
- Clone this repository to your local machine:
https://github.com/eldarovsky/PhotoInfo.git
- Install pods dependencies:
- open
PhotoInfo
folder in Terminal - enter
pod install
-
Open the project in Xcode:
- Launch Xcode.
- Select Open from the File menu.
- Navigate to the project folder and select the
.xcworkspace
file.
-
Enter API key:
- Go to the
AppDelegate
file and replaceenter_API_key
text with your API key.
- Go to the
-
Check Build Options:
- Check
PhotoInfo
andPods
-> PROJECT and all TARGETS -> Build Settings -> Build Options:User Script Sandboxing: No
- Check
-
Build and Run the Project:
- Click the Run button (▶) in Xcode's toolbar.
- The app will build and launch in the selected simulator or device.
SCREENSHOTS: