Questions tagged [swift3]

Use this tag only for questions directly related to changes in version 3 of Apple's Swift programming language. Use the tag [swift] for more general language questions, or the tags [ios], [cocoa], [apple-watch] etc for questions about developing on Apple platforms.

0
votes
1answer
14 views

Add images and text to the segmented Control in iOS with MXScroll lib

I have integrated a third party library name MXScroll in iOS project, there is no supporting documentation for it, can anyone say how to implement both title and image to segemetedcontrol? Library ...
1
vote
0answers
17 views

Swift Merge audio and video Swift3

I have one video and I am merging another audio to that video so right now I have two Audio with that Video, One is Original sound and another is Video's own sound. Now the issue is I can set volume ...
0
votes
1answer
28 views

App Store Connect Operation Error: Invalid provisioning profile… Please use provisioning profile associated with team ID “XX..XX”

I developed an app for a friend of mine. We published it to the App store from his laptop and his account. We also published the first update through his account as well. Currently, we need to push ...
0
votes
0answers
27 views

I am working on calendar app where i need to add multiple events on calendar

I have tried a-lots of example but i am not able to get exactly what i want. I need to add multiple events from a date to end date multiple events may be added on a particular date or in between ...
1
vote
1answer
23 views

uiimageview not showing image in view controller

I am trying to display a chart image in my view controller. I have an image called 'powerchart' in my assets, but I cannot get it to display in the view controller. I am trying to build the app ...
0
votes
1answer
23 views

How to fix date formater after adding 30 days to date

I am getting date and time into different strings and getting them together in date format using date formatter. After this, I am adding 30 days to the resulted date. Now I am trying to use ...
0
votes
0answers
13 views

Getting “this class is not key value coding-compliant for the key backGroundView.'” when adding view from xib to scrollview

Getting error while adding subView add ScrollView is for creating scrollview func addScrollView() { self.scrollView.frame = CGRect(x: 0, y: 150, width: self.view.bounds.size.width, height:...
1
vote
1answer
67 views

What's the easiest way to pass data between two simultaneously displayed view controllers?

I'm getting in a muddle trying to pass data between two viewcontrollers that are displayed on one screen via container views. Minimal example below - top view (TopVC) has a textInput field. When I ...
0
votes
2answers
57 views

Alamofire upload image corrupted

I have function uploading image using Alamofire. When I upload it, the image is corrupted. But when I'm save it to device, the image can be opened. Here's the upload code Alamofire.upload(...
2
votes
0answers
46 views

Video player shown with a cross mark on the Play button in iOS swift AVPLayer?

I am trying to play a video form my Server but when I try to do so I get a Crossed mark on pay button. All other files like .ppt,.keynote etc work fine when I use them with my Server url and use a ...
-1
votes
0answers
23 views

Intercom : Hiding start conversation textfield when i touch on that in swift?

error: API error: <_UIKBCompatInputView: 0x109f29d80; frame = (0 0; 0 0); layer = > returned 0 width, assuming UIViewNoIntrinsicMetric Intercom.presentMessenger() I added above line when i click a ...
0
votes
1answer
27 views

How to add circle annotation in pdfkit swift?

I am using pdfkit and added circle annotation with fixed size and width but i want to draw with dynamic height and width. Here is my code : Here : start is my CGPoint from where i start to finger ...
-1
votes
2answers
28 views

While storing server response in userdefaults…I am getting error

While storing server response in userdefaults....I am getting error........ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_SwiftValue encodeWithCoder:]: ...
-1
votes
0answers
49 views

how to retrive value from server response

I am integrate web service in ios app but I got below response Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." ...
1
vote
1answer
71 views

Swift 3.0: Unable to infer closure type in the current context ,PromiseKit

I have following code in swift 3.0, Where I am using PromiseKit. func calculateTravelTime(from: CLLocation, to: CLLocation) -> Promise<Double> { Promise<Double> { completion, ...

15 30 50 per page