Category "ios"

How to add image on UITableView delete button?

I have an UITableView and I've added edit actions to it. Now I want to add image above the delete buttons label, as: This is my code: func tableView(tableVi

SQLite - SELECT DISTINCT of one column and get the others

I have a table like this (but with more columns): Code Quantity ----- -------- 00001 1 00002 1 00002

Files in Xcode not working (names in red)

I renamed my app folder to try and change the name of the app because it didn't work in the project navigator and when I did so, all files came up in red. I hav

Select/deselect buttons swift xcode 7

Part way done with learning swift but I hit a small wall and yet again, I'm sure I'm just a bit new at this and an easy solution is there but I'm having trouble

Snap to center of a cell when scrolling UICollectionView horizontally

I know some people have asked this question before but they were all about UITableViews or UIScrollViews and I couldn't get the accepted solution to work for me

How to pull saved images from Parse.com into my app

I would like to save some images in Parse Server and like to pull it down into my iOS app. Any idea how to do it?

Use of Unresolved Identifier 'GMSServices'

I am using Xcode 7.1 and the deployment target is iOS 9.1. The app is "AreaCalculator" and it was written in Swift. I did following to set up the framework and

What does animatableData in SwiftUI do?

I was playing around with the animatableData property for a custom Shape I made but I couldn't really visualise what it does and where the system uses it. I did

SwiftUI custom list with ForEach delete animation not working

I am creating a custom list displaying time information (minutes and seconds, not used in the snippet below to simplify the code). I managed to implement a nice

QR Scanner won't work on iOS devices (Unity)

Please let me start off by saying I have only been programming for about 2 years now. I am somewhat new to it. I am also more of an Android developer than an Ap

How to make a UILabel clickable?

I would like to make a UILabel clickable. I have tried this, but it doesn't work: class DetailViewController: UIViewController { @IBOutlet weak var tripD

Change alpha mask when texture changes on same SKSpriteNode

I have two functions that help me show different animations on my SKSpriteNode, but I need the alpha mask of this Sprite to change whenever the texture changes

How to fix Command PhaseScriptExecution failed with a nonzero exit code on flutter run in macOS?

I am working on a flutter app. I recently shifted to macOS and since then haven't been able to run the app. Other apps are running fine so I think the error is

Catch and call telephone number in WKWebView

I have a WKWebView that I want to ask to call a number when the number is selected. The contents of the web view contain the HTML anchor tag "tel:" and i am loo

There is a project that runs in the simulator without problems, but when installed on a device (iphone 7) crashes (when opened)

help, please, I need your help. There is a project that runs in the simulator without problems, but when installed on a device (iphone 7) crashes (when opened).

Return String Generated by PHP Webpage

I have a url like the following: http://www.test.co.uk/Requests.php?accessToken=01XJSK Depending on wether or not the access token is valid, either a 1 or 'in

fix net::err_unknown_url_scheme whatsapp link on flutter webview #101145

am using the flutter webview plugin. the problem is that there is a WhatsApp pop-up from the webpage and if I click on the WhatsApp icon from the webpage it dis

Swift - Adding a checkbox to every cell in the tableView

I've already made a table view which allows the user to add tasks to the table view, but now I need to add a checkbox in front of each task, so that the user ca

UITextView.attributedText, How to set numberOflines and lineBreakMode?

In some condition I have to use UITextView instead of UILabel(To make link attributes clickable). Here is my code: let attributedString = NSMutableAttribut

How can I add a ListBoxItem programmatically?

I could only find how to create a ListBoxItem by clicking on the component -> Items Editor. How can we create programmatically a ListBoxItem using Firemonke