Questions tagged [iphone-sdk-3.2]

Refers to the iPhone software development kit, version 3.2.

129 questions
128
votes
9 answers

UITableView backgroundColor always gray on iPad

When I set the backgroundColor for my UITableView it works fine on iPhone (device and simulator) but NOT on the iPad simulator. Instead I get a light gray background for any color I set including groupTableViewBackgroundColor. Steps to…
rjobidon
  • 2,839
  • 2
  • 28
  • 33
51
votes
9 answers

UIKeyboardBoundsUserInfoKey is deprecated, what to use instead?

I'm working on an iPad app using 3.2 sdk. I'm dealing with obtaining the keyboard size to prevent my textfields from hidding behind it. I'm getting a Warning in Xcode -> UIKeyboardBoundsUserInfoKey is deprecated what should I use instead not to get…
Mikeware
  • 867
  • 2
  • 8
  • 12
46
votes
26 answers

Receive message "A signed resource has been added, modified, or deleted" when trying to debug an App on iPhone

While attempting to debug a build created using the 3.2 SDK on an iPhone device I receive the message "A signed resource has been added, modified, or deleted.". I can clean, rebuild, then install with no error, but if I try to install without…
jessecurry
  • 21,857
  • 8
  • 49
  • 44
32
votes
1 answer

isEqual doesn't always work for NSIndexPath? What can I use in its place?

I've got some code that relies on comparing two NSIndexPaths and executing different code based on their equality or lack thereof (using -isEqual). Most of the time it works properly, but sometimes it doesn't. I've used the debugger console to test…
JoBu1324
  • 7,633
  • 6
  • 40
  • 59
32
votes
8 answers

How does one get UI_USER_INTERFACE_IDIOM() to work with iPhone OS SDK < 3.2

Apple advises using the following code to detect whether running on an iPad or iPhone/iPod Touch: if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { // The device is an iPad running iPhone 3.2 or later. // [for example, load appropriate…
drootang
  • 1,810
  • 1
  • 15
  • 23
28
votes
9 answers

UISplitViewController in a TabBar ( UITabBarController )?

I am in kind of situation that I need to start with a tab based application and in that I need a split view for one or more tabs. But it seems that split view controller object can not be added to the tabbarController. (Although tabbar object can be…
13
votes
6 answers

Is there a specific Xcode compiler flag that gets set when compiling for iPad?

Is there a specific Xcode compiler flag that gets set when compiling for iPad? I want to conditionally compile iPad vs iPhone/iPod Touch code for example: #ifdef TARGET_IPAD code for iPad #else code for iPhone #endif I know there is already…
Rei
  • 1,148
  • 2
  • 12
  • 16
12
votes
2 answers

vertical color gradient

Horizontal gradient is working fine. Is there any way to get a vertical color gradient from horizontal gradient? I have seen a related question regarding this where they did this by rotating the frames. Is there any simpler way to achieve a…
darshan
  • 161
  • 1
  • 2
  • 4
11
votes
4 answers

Lauching App with URL (via UIApplicationDelegate's handleOpenURL) working under iOS 4, but not under iOS 3.2

I have implemented UIApplicationDelegate's application:didFinishLaunchingWithOptions: and application:handleOpenURL: according to specification, i.e., application:didFinishLaunchingWithOptions: returns YES and application:handleOpenURL: opens…
Christian Fries
  • 14,119
  • 9
  • 51
  • 65
9
votes
1 answer

Change table view ( tableview style grouped ) background color?

I am developing an iPad application in which I need a table view ( style grouped ) having background color as clearColor. My problem is [self.tableView setBackgroundColor:[UIColor clearColor]]; works well if the table view style is plain but when…
Madhup Singh Yadav
  • 8,077
  • 7
  • 48
  • 82
8
votes
2 answers

how can I make a popover and arrow with presentPopoverFromRect?

I don't understand how to define the (CGRect)rect in order to control the position of popover, and the position of the arrow. For example, I have a 1004 x 768 view, how can I put the popover at lower right of the screen, and point the arrow at 700…
ohho
  • 47,708
  • 70
  • 236
  • 372
8
votes
3 answers

iPhone SDK 3.2 and UIAppFonts

I've added my custom font to UIAppFonts and it's loaded just fine: (shows up in [UIFont familyNames] ). When I manually set the font in viewDidLoad { [myLabel setFont: [UIFont fontWithName:@"CustomFont" size: 65.0]]; } everything works and the font…
Tarmo
  • 5,864
  • 2
  • 17
  • 12
8
votes
6 answers

Load PDF into UIImage or UIImageView?

This is my first ever question on stackoverflow. I'm trying to load a PDF file stored in Resources into a UIImage/UIImageView object in the iPhone SDK. Is this at all possible without converting the PDF to an image? If not, what are the member…
Peter Hajas
  • 3,861
  • 4
  • 23
  • 27
6
votes
6 answers

Using UIScreen to drive a VGA display - doesn't seem to show the UIWindow?

HI there, I'm trying to use UIScreen to drive a separate screen with the VGA dongle on my iPad. Here's what I've got in my root view controller's viewDidLoad: //Code to detect if an external display is connected to the iPad. NSLog(@"Number of…
Peter Hajas
  • 3,861
  • 4
  • 23
  • 27
5
votes
2 answers

Draw underlined / strikethrough text ( MULTILINE STRING )?

I have to draw underlined-multiline text with all types of text alignment. I have searched on forums and got some results…
Madhup Singh Yadav
  • 8,077
  • 7
  • 48
  • 82
1
2 3
8 9