Refers to the iPhone software development kit, version 4.1.
Questions tagged [iphone-sdk-4.1]
58 questions
16
votes
2 answers
CLLocation ask again for permission
Currently my application asks only once for permission to use the current location. If the user doesn't allow, he isn't ask again unless he resets location warning in the general settings. I would like to give the user a chance from within the app…

Reinhold
- 234
- 2
- 10
10
votes
1 answer
Test app on iPhone without paying $99 to Apple
I developed an app for iPhone with Xcode 3.2.4 and iOS 4.1. Now I want to test my app on my iPhone, but I don't want to enroll for a developer program. I searched in google and found a lot of tutorials, but they are not working.
Then I asked me if…

Paul Warkentin
- 3,899
- 3
- 26
- 35
5
votes
3 answers
crash due to "Could not load NIB in bundle"
In my app there is a PointMode button. When I click on it 10 to 11 time there is no problem and the view will appear. But then after, it produces this error:
Terminating app due to uncaught exception 'NSInternalInconsistencyException',
…

Harin
- 867
- 11
- 23
5
votes
3 answers
Remove UITabBarItem
How can I remove a UITabBarItem from a UITabBar?
I haven't tried anything, because I haven't found anything from Google searches or the documentation for UITabBar, UITabBarController, or UITabBarItem.
Thanks in advance! :)

esqew
- 42,425
- 27
- 92
- 132
5
votes
4 answers
How can I create my own UITabBar?
Further to this question here, I'm really interested in creating my own UITabBar, and 'rolling my own'. Im really curious as to how this is done, especially in an app such as the Twitter app.
How can I do this? Can anyone point to any good resources…

barfoon
- 27,481
- 26
- 92
- 138
4
votes
3 answers
THEOS compilation errors
I just started playing around with THEOS and found it is good to use. But unfortunately I struck at the following errors.
theos/makefiles/common.mk:64: //makefiles/legacy.mk: No such file or directory
theos/makefiles/common.mk:77: *** You did not…

prathumca
- 410
- 8
- 25
4
votes
2 answers
How to sort numbers in array from low to high
I am trying to sort an array of prices from low to high. I have it working but not the way I want it to. Long story short, the sorter is putting numbers in order like this:
100
10900
200
290
instead of sorting like this
100
200
290
10900
here is my…

Louie
- 5,920
- 5
- 31
- 45
3
votes
1 answer
How to use Lazy Loading in Paging?
I have a viewController, in that i have used Page control. and each page have 4 imageViews.
I have passed Xml and according to number of images in that i got the number of pages of pageControl that is (NumberOfImages/4).
I have done my code like…

Nignesh
- 197
- 1
- 10
3
votes
1 answer
how to change url of uiwebview when button is clicked?
hi i guess this is pretty simple and hope it will be answered in a easy manner!
how do i change the url of the uiwebview when a button is touched up inside?
meaning to say i will have a single web view and everytime a button is clicked the URL of…

AlsonToh-SG
- 145
- 3
- 14
2
votes
2 answers
How should an iOS app prevent consumable items from being reused?
Probably a newbie question, I am using the Verify Store Receipts API to verify purchases of consumable items. How can I mark these items consumed so that the same receipt cannot be used again? Is there any option other than storing the used…

Usman Ismail
- 17,999
- 14
- 83
- 165
2
votes
2 answers
How to handle JSON response using SBJSON iPhone?
I am receiving the below response from my web service?
Can any one has idea how to handle it using SBJSON?
{
"match_details" :
{
"score" : 86-1
"over" : 1.1
"runrate" : 73.71
"team_name" : England
…

spaleja
- 1,435
- 15
- 24
2
votes
1 answer
Unit Testing in iphone i got below error
whenever i run the unit testing application to find whether appdelegate is there r not using the test suit
-(void)testAppDelegate
{
id app_delegate=[[UIApplication sharedApplication]delegate];
STAssertNotNil(app_delegate,@"delegate not found");
}
i…

Pradeep
- 37
- 4
2
votes
1 answer
iPhone Xcode Settings.bundle Plist
I followed the tutorial: http://useyourloaf.com/blog/2010/5/18/adding-a-settings-bundle-to-an-iphone-app.html
And the Toggle Switch (that I just created based on the tutorial) was not in the Settings App. Every time I did an NSLog on the state of…

Linuxmint
- 4,716
- 11
- 44
- 64
2
votes
2 answers
How to register the Game Center application on iTunesConnect?
I am working on an application that uses the Game Center feature from iOS 4.1.
While studying Game Center I got to know that it uses Game Center service to post leaderBoard and achievements. I have already a registered user of Game Center but don't…

Dipti Y W
- 474
- 1
- 8
- 26
2
votes
1 answer
What to do when the Base SDK is missing?
Hey guys, I recently updated my version of xcode and interface builder + SDK (ios 4.1) and whenever I try to open apps that I created before it says BASE SDK MISSING. What is the SDK folder? Should I just copy the SDK folder to my new Developer…

taevanbat
- 425
- 1
- 8
- 17