Questions tagged as 'ios'

2
answers

like hide keyboard when you play outside and inside a textfield when you have a scrollview

the problem is the following, I am developing an apps in the other view that I have achievement hide the keyboard perfectly but when I am using one with a scrollview I can not hide it in the others I use .resignFirstResponder() and...
asked by 04.08.2017 / 19:48
2
answers

No new iOS app builds in iTunes Connect

a rather curious thing happens to me, I have created a project with Unity, I have exported it to iOS and I have configured in XCode what is necessary for its compilation (Team, certificate, a parameter for hhtps in the info.plist, the version an...
asked by 09.11.2017 / 21:41
2
answers

Access an array within a Json in Swift 3

Good afternoon, I'm using the Spotify API, I try to access this Json: I was able to successfully access the "name" value, but I would like to access the "images" array and its "url" value, so, specifically, my question would be, how to acces...
asked by 14.06.2017 / 20:54
1
answer

I can not record a file from a URL with NSData and writeToFile

I have a very simple code to record a file downloaded from a URL in the SandBox. The file I save it in an object NSData but at the time of writing it with writeToFile it does not do it. On the other hand I have another code that is...
asked by 10.05.2017 / 16:37
1
answer

Scale an image and then rotate it?

I have a png image on an object. The image is a circle filled with a color. I want to scale the object higher than wide so that the circle looks like an oval. When trying to scale the object it works fine but then if I want to rotate the oval an...
asked by 07.02.2017 / 00:25
1
answer

Drag a view with the speed of the UIPanGestureRecognizer gesture

I have a method that drags me a view as I slide my finger on the screen. For this I use UIPanGestureRecognizer . In the method I increase the position x of the view point to point, but I'm interested in moving it according to the sp...
asked by 11.01.2017 / 17:33
1
answer

UILocalNotification is obsolete in IOS10

I am working on an app that generates notifications, however when generating a notification on a device with a version equal to or greater than 10; the notification is not generated. How can I change the following method to work on all devices?...
asked by 24.01.2017 / 21:29
2
answers

Convert Array String to Array float

People have a challenge I have to convert arrayString to arrayFloat it's not how you usually do it array *date = [obj valueForKey:@"oficialTime"];// por ejemplo 10:10:02 float f = [date floatValue]; The problem here is that array is in Ns...
asked by 20.01.2017 / 13:12
1
answer

Move a Slider by steps or segments

I need to create a Slider that moves in steps. On a scale of 0 to 100 units, you can move in 5 steps of 20 units. I tried to do it with the Slider class that comes by default in Xcode. I had thought to round the value when I moved the Slider to...
asked by 15.12.2016 / 10:13
1
answer

Objective-C How to save the pointer to a static method in a variable?

I would like to save in a variable the address of a static method and then call it when it interests as if it were a function pointer in C. How would it be implemented in Objective C? Would it work the same for non-static methods?     
asked by 21.11.2016 / 22:17