sedang Berlangsung

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

i used this [url removed, login to view] 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) {

[url removed, login to view] = indexPath

didSelectRow?("Detail for index \([url removed, login to view] + 1)")

[url removed, login to view](at: indexPath as IndexPath, animated: true)

[url removed, login to view](withIdentifier: "showImage", sender: self)

}

override func prepare(for segue: UIStoryboardSegue, sender: Any?)

{

if [url removed, login to view] == "showBook"

{

let vc = [url removed, login to view] as! showPdfMakotab3nh

[url removed, login to view] = [url removed, login to view][[url removed, login to view]]

}

** 1 milestone will be created but not released until i get the source code and test it (videos are not accepted)**

Keahlian iOS Development, Swift

Lihat lebih lanjut: page menu swift github, ios open pdf file programmatically, pdf reader swift, uidocumentinteractioncontroller pdf, pdf viewer ios github, ios pdf viewer tutorial, ios display pdf in uiwebview, ios pdf viewer library, open pdf file database, open pdf file sql server vbnet, vbnet view pdf file windows form, extjs open pdf file example, extjs open pdf file, open pdf file html asp, open pdf file network drive vbnet

Tentang Pemberi kerja:
( 11 ulasan ) corona, United States

ID Proyek: #14923869

Diberikan kepada:

$25 USD dalam 1 hari
(3 Ulasan)
2.4

6 freelancer menawar pada rata-rata $38 untuk pekerjaan ini

ksd711

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 Lagi

$100 USD dalam 1 hari
(6 Ulasan)
4.6
wancheng

Hello, I am an iOS expert and have rich experience in mobile app development. During my previous development, I have completed various apps including Google map app, Health & Fitness app, Social Networking App. Lagi

$25 USD dalam 1 hari
(2 Ulasan)
3.1
abedas

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 E Lagi

$25 USD dalam 1 hari
(1 Ulasan)
1.9
$25 USD dalam 1 hari
(0 Ulasan)
0.0
naeemjawaid

Hi, just change this line: [url removed, login to view](withIdentifier: "showImage", sender: self) to: [url removed, login to view](withIdentifier: "showBook", sender: self) Best, Naeem

$25 USD dalam 1 hari
(0 Ulasan)
0.0