Questions tagged as 'swift'

1
answer

Sharing via UIActivityViewController

Could anyone help me solve the problem called: " LaunchServices: invalidationHandler called" displays whenever I press a certain BarButtonItem , below is the code snippet in SWIFT. @IBAction func btShared(sender: UIBarButtonItem) { l...
asked by 03.12.2014 / 02:45
2
answers

Install IPA using Swift

I am developing a jailbreak APP , I would like to know how to install a .ipa that I downloaded from my server to install on my device (iPhone and iPad) . My application does not promote piracy, it just downloads other apps from the same develo...
asked by 09.11.2014 / 21:40
3
answers

How to convert a String to Date in Swift

I get the date as following 2016-08-14T20: 38: 27.031-03: 00 as string, I would like to move to date in the default dd / MM / yyyy, I already searched the net for some solutions but were not useful     
asked by 16.08.2016 / 04:02
1
answer

Open VIewController iOS

How do I make the function below (when a navigation bar item is clicked) open another screen already created in Main.storyboard ? @objc func infoTapped (sender:UIButton) { }     
asked by 06.10.2017 / 19:45
1
answer

Recover project (application) installed on Iphone - Xcode

I have a project that was working and I installed it on the Iphone (to test) and now I would like to know if it is possible to do the reverse path and bring this project back to Mac (XCode)?     
asked by 20.11.2015 / 18:59
2
answers

How to insert link in button

Good, How do I insert a link into a button I tried as below and did not work. @IBAction func urlDisplay(_ sender: AnyObject) { UIApplication.sharedApplication().openURL(NSURL(String:"http://www.quatenus.co.ao")!) }     
asked by 01.10.2016 / 03:30
1
answer

UIScrollView scrolling when displaying keyboard - Swift

I'm using a UIView with a UIScrollView to assemble a layout, but every time the keyboard is shown scrollview and scroll down, I tried some solutions, found here and in other forums, none of them solved my problem, Note: I'm creating the layout p...
asked by 17.08.2018 / 18:04
1
answer

iOS Publication, Rejection: Guideline 2.3.3 - Performance - Accurate Metadata

Well, I have this rejection of iTunes    Apple       3 Performance: Accurate Metadata    3 Design: Spam    But for what I understand are the prints I've added, the application is just a link to the site, there is no secret or complexit...
asked by 31.07.2017 / 15:50
1
answer

Error: Expression implicitly coerced from 'String?' to Any

How do I fix the following error:    Expression implicitly coerced from 'String?' to Any The error is given in the code snippet below: let frase = lblFrase.text let textToShare = [ frase ] ///O erro esta nesta linha let activityVi...
asked by 28.09.2017 / 16:54
1
answer

UICollectionViewController 3 columns auto layout

I'm creating a UICollectionViewController with 2 or 3 columns, when using autolayout in some Devices works perfectly but in others not, I did not find anything that speaks of how to dynamize these columns with objective-c. I found one in swif...
asked by 13.07.2016 / 01:16