Refers to the iPhone software development kit, version 3.0.
Questions tagged [iphone-sdk-3.0]
2772 questions
50
votes
9 answers
How to renew an iPhone development certificate?
My development certificate has expired. What is the correct method of renewing it?
Do you revoke the expired certificate & submit a new Certificate Signing Request?
Do provisioning profiles have to be recreated?
Are there any side-effects of doing…

Robin
- 565
- 1
- 6
- 9
46
votes
10 answers
iPhone In App Purchase - response.products are still empty?
Basically, I've tried to set up in app purchases on a test app before I implement them into a proper app that my company is working on. I've read the Store kit pdf and other snippets about a 1000 times, but the products are still being returned as…

user218485
- 527
- 1
- 8
- 9
42
votes
5 answers
How do you optionally use iPhone OS 3.0 features in a 2.0 compatible app?
I'd like to use some features of iPhone OS 3.0 in my 2.0 app when it runs on a 3.0 device. I don't want to go 3.0 all the way because there are customers who do not want to update yet.
I experimented a bit with weak linking of the MapKit.framework…

Nikolai Ruhe
- 81,520
- 17
- 180
- 200
42
votes
7 answers
How do you prompt the user to rate your iphone app without waiting for them to delete the app?
I am referring to the popup window that asks the user to submit a review/rating.
I know it can be done since the Aardark app does it...it asks several times in fact! (Almost too spammy.) But there has to be an API to trigger the rating request? …

raf
- 1,007
- 2
- 10
- 13
41
votes
2 answers
How to set selected segment index in UISegmentedControl?
I'm trying to avoid an app crash here... I have a button that will remove a segment from a UISegmentedControl. If that button is pressed and the user has the segment to be removed selected, the segment will remove and no selection will be…

esqew
- 42,425
- 27
- 92
- 132
40
votes
8 answers
How to Change Font Size of Cell in uitableview
I tried this, but it is not working.
cell.textLabel.adjustsFontSizeToFitWidth=NO;
cell.textLabel.minimumFontSize=6;
I need a code snippet.

Parag Deshpande
- 445
- 2
- 5
- 9
40
votes
3 answers
Top margin on UITableViewController
I have a TabBarController, one of the tabs of which contains a sub view which is a navigationController. I am then loading into the navigation controller a view which inherits form UITableViewController.
My problem is thta for some reason the table…

agough
- 605
- 1
- 6
- 7
40
votes
4 answers
Deactivate UIScrollView decelerating
Is there a way to deactivate the decelerating of a UIScrollView?
I want to allow the user to scroll the canvas, but I don't want that the canvas continues scrolling after the user lifted the finger.

Markus Müller-Simhofer
- 3,391
- 1
- 28
- 32
39
votes
5 answers
Can font size of UILabel be changed with smooth animation on iPhone?
I want a UILabel to swell slightly when selected like in some game menu screens. To get smooth resizing I presume I should put some change to the label's properties in an animation block.
The obvious thing to try is to change the…

willc2
- 38,991
- 25
- 88
- 99
39
votes
22 answers
iPhone StoreKit - invalid product id's
I'm trying to test In App Purchase within the sandbox environment.
In order to test the code I did the following:
Created an In App Purchase Test User account under 'Manage Users' in iTunes Connect
Created some in app purchase products under…

Achim
- 421
- 1
- 4
- 7
38
votes
9 answers
Center UIPickerView Text
So I have a uipickerview with rows that only contain the number 0-24 and it looks a bit silly since the numbers are left aligned leaving a huge gap on the right of the pickerview.
Is there an easy way to center align text in a uipickerview?

Msencenb
- 5,675
- 11
- 52
- 84
37
votes
5 answers
Great UIKit/Objective-C code snippets
New to Objective-C iPhone/iPod touch/iPad development, but I'm starting to discover lots of power in one-liners of code such as this:
[UIApplication sharedApplication].applicationIconBadgeNumber = 10;
Which will display that distinctive red…

Keith Adler
- 20,880
- 28
- 119
- 189
37
votes
3 answers
Learning the basics of UIScrollView
I've been having a very hard time finding good examples of UIScrollView. Even Apple's UIScrollView Suite I find a bit lacking.
I'm looking for a tutorial or example set that shows me how to create something similar to the iPhone Safari tab…

M. Ryan
- 6,973
- 11
- 52
- 76
37
votes
16 answers
UIView doesn't resize to full screen when hiding the nav bar & tab bar
I have an app that has a tab bar & nav bar for normal interaction. One of my screens is a large portion of text, so I allow the user to tap to go full screen (sort of like Photos.app).
The nav bar & tab bar are hidden, and I set the the text view's…

Ben Scheirman
- 40,531
- 21
- 102
- 137
36
votes
6 answers
How to place UIBarButtonItem on the right side of a UIToolbar?
I have designed a view with a toolbar that appears modally in Interface Builder. I have a UIBarButtonItem that is on the left hand side, which I would like to appear on the right hand side of the toolbar. How can I do this in IB, or via code?

Sheehan Alam
- 60,111
- 124
- 355
- 556