Find Jobs
Hire Freelancers

pdf file doesn't open when pressing on collection view cell when i am using pager library (swift)

$10-30 USD

Completed
Posted over 6 years ago

$10-30 USD

Paid on delivery
i used this [login to view URL] to have tabs on top, you will find a screenshot of what i have right now. what i wanna do is when you press on the cell it should open a pdf file but when i press on the cell nothing happens right now. PS ( if i am not using that library and i am displaying it normally when i press on the cell the pdf file will work). this is the code i am using to open the pdf file if you press on the cell func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { [login to view URL] = indexPath didSelectRow?("Detail for index \([login to view URL] + 1)") [login to view URL](at: indexPath as IndexPath, animated: true) [login to view URL](withIdentifier: "showImage", sender: self) } override func prepare(for segue: UIStoryboardSegue, sender: Any?) { if [login to view URL] == "showBook" { let vc = [login to view URL] as! showPdfMakotab3nh [login to view URL] = [login to view URL][[login to view URL]] }
Project ID: 14923869

About the project

5 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$25 USD in 1 day
5.0 (7 reviews)
3.1
3.1
5 freelancers are bidding on average $40 USD for this job
User Avatar
Dear Client I am iOS Development Expert and have 6 years of Experience . Please contact so we can discuss in details the functionality/Requirement of the App . Thank you . Relevant Skills and Experience ***Apple Latest IOS10 Features,Facebook/Twitter/Google Api,Google MapKIt,Video/Audio Streaming,Push Notification,Graphics Design,Animation,UIKit,Database/Address­book/Calendar,GPS,In App Purchase Proposed Milestones $100 USD - Milestone
$100 USD in 1 day
5.0 (10 reviews)
5.1
5.1
User Avatar
Hello :) I've noticed that you're performing the segue with identifier ="showImage", but in the preparation function, you're checking if the identifier ="showBook" I think this is the issue. Relevant Skills and Experience I've a very good experience with iOS development using Swift. Proposed Milestones $25 USD - Fix item selection.
$25 USD in 1 day
5.0 (1 review)
3.4
3.4

About the client

Flag of UNITED STATES
corona, United States
5.0
11
Payment method verified
Member since Apr 9, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.