How to add Button on the Apple Pass Card - ios

I want to add a button on the passcard. I am using Laravel 8 to create a passcard. I can see that layout does not support doing so. Is there any way we can add a button on the passcard and that button will act as a clickable URL to route to some web link. Please help me to achieve this.
I am looking forward to hearing.
Thanks,

I think you cannot add button(s) on cards, maybe on Passes like boarding tickets, but the only link I can see on Passes is a image button (logo of the app) redirecting to the ios app linked.
Alternative for cards you can do:
Format your card with a text encouraging the user to press the dots button.
Then on card description you can add links

Related

Add custom menu option to JSQMessagesViewControllerCell

I am building a chat app that uses JSQMessagesViewController. The default functionality includes the ability for a user to long press a chat bubble which then presents a copy menu option (see screenshot). I would like to add an additional custom menu for reporting a comment. Ideally when the user long presses a chat bubble the menu now has two options, copy and report. Can someone please point me in the right direction for adding this custom menu button? Thank you!
See the demo file
https://github.com/jessesquires/JSQMessagesViewController/blob/develop/JSQMessagesDemo/DemoMessagesViewController.m
See the use of customAction

Safari Share Sheet accessible to UIWebView?

I want to add a Share bar button item to my top Navigation Bar that works like the one in Safari (send a link via SMS Message, copy a link, etc), are developers allowed access to that, or is it something where I have to create my own?
Found out you can do this with UIActivityViewController!
Let me know if you have any questions on this-

How to make an iPhone spinner?

I am creating an iphone application, where i am getting confuse. I need to show a control (displaying Online option) as i have mention in below screenshot. I have seen such type of controls in Android.
When user will press, it should display Offline and Online two options in one small pop up view. Selected option text will come on to the control field. How to implement or give me suggestion to show such type of field in iphone.
Thanks in Advance.
Check the answer here: Any pull down or drop down menu for iOS?
Personally I would make a text box with an image view to make it look like a drop down box. then on tap load a UIActionSheet for the user to select from.

Page curl with active content

I've got an magazine app. In it, I implement AFK Page Flipper for page curl. But now I have no idea how to create active content. I mean for example when I've got image on page I want to tap on it and get bigger in model view. Like in Flipboard app. Any ideas? Thx for reply!
I got it... Flipboard has page turning on swipe not on tap. So wehn I want to show image I tap. When I want to turn over page, I sipe...

Twitter share button only shows up as hyperlink

I'm trying to add the Twitter Share button to my website. I've gone to https://twitter.com/about/resources/buttons#tweet and added the code to my html, but the "button" only shows up as a hyperlink.
Can someone tell me how to make the button look exactly like the normal twitter button that shows up on other sites?
Thanks.
I was able to make it work by changing the code that says
id;js.src="//platform.twitter.com/widgets.js
to
id;js.src="http://platform.twitter.com/widgets.js

Resources