This tag should be used only on questions that are about Objective-C features or depend on code in the language. The tags "cocoa" and "cocoa-touch" should be used to ask about Apple's frameworks or classes. Use the related "ios" and "osx" for issues specific to those platforms.
0
votes
0answers
5 views
How to retrieve proxy password stored in iOS
In OS X you can retrieve the username and password for proxy using keychain function SecKeychainFindInternetPassword.
In iOS there are CFNetworkCopySystemProxySettings and CFNetworkCopyProxiesForURL ...
0
votes
0answers
6 views
Display road route on map ios
I have an iOS app that collects GPS coordinates from a user as they drive. What i want to do is display the route they took on a map. My problem is i want the route the be snapped to the road nearest ...
0
votes
3answers
17 views
How to stop timer when enter to background?
I have one timer that will countdown the time to 0. timer stop fine when it reach to 0 and when clicking submit button but timer doesn't stop when go out the application and come back.
I tried to ...
0
votes
3answers
29 views
Initialise an array with numbers from 1 to n objective C
Very basic question. I need to initialise a NSMutableArray with values from 1 to n(or m to n, say). Is there anything I can do to initialise the array without using a for loop? I mean is there ...
0
votes
5answers
30 views
How can I create a custom popup window for iPhone?
I want to create a custom popup window for iPhone which should look like this:
What is the most correct way to implement this for iPhone and iPod devices?
0
votes
1answer
7 views
Sending Request to IIS from Phonegap (SSL/TLS) error
I have asp.net site (https) hosted on IIS.My phonegap app on Mac machine(for iOS) is in same local network.
This website act as a handler for this phonegap app's request,but I am not able to debug ...
0
votes
3answers
29 views
What is the user interface class of slide up menus?
I'm wondering if there is a specific UI class that slides up to allow user to make a choice, like the "More" button on the safari or the interface confirming iDevice shut down. Both looks like ...
0
votes
1answer
25 views
My Custom MKAnnotationView isn't clickable
i'm working on a custom annotationview that show a image of background, with inside a custom image.
I've based my code from this: Custom MKAnnotationView with frame,icon and image
And my actually code ...
0
votes
1answer
24 views
GCD Prevents Call-back Blocks Being Called?
I am very new to GCD, but I am trying to only call certain code after other actions have completed. Anyway, this means I am using code you see below:
dispatch_group_async(group, queue, ^{
...
0
votes
0answers
11 views
How to restrict the google map view to pan till the provided cooridate bound?
I'm using Google maps sdk in ios.
I want to restrict the user from viewing other states than the states he is allowed to view. The allowed region to view on the map is given as coordinates (FarRight ...
-1
votes
3answers
30 views
Transform not working
I am trying to rotate an object around it's current position,
CGAffineTransform trans = CGAffineTransformMakeRotation(compass_heading );
trans = CGAffineTransformTranslate(trans, 0, 90);
...
0
votes
0answers
10 views
How to find the start and end duration of Trimmed Video in didFinishPickingMediaWithInfo?
I'm picking the Video from gallery and can able to get the Trimmed video path in UIImagePickerControllerMediaURL and the original Video path in UIImagePickerControllerReferenceURL.
Suppose if i ...
1
vote
3answers
26 views
Assign multiple variables to a class instance
i have defined a new class called StockHolding that has all the methods and instance variables of the class NSObject. And added 3 instance variables:
@interface StockHolding : NSObject
{
float ...
0
votes
0answers
16 views
CCPointFromString is crashing :( in cocos2dx 2.0.4
I am doing a CCPointFromString conversion but my coding crashing whenever I am trying to take input, Here is the code , what I am doing wrong?
CCPoint *temp = new CCPoint(oldLocationCon.x, ...
1
vote
1answer
16 views
Coreplot iOS - Remove border line around pie chart
I've got a pie chart being generated through Coreplot. It's put a black line all the way around the chart and through all the segments like so:
I generate the chart with the following code:
...