Questions tagged [iphone-sdk-3.1]

Refers to the iPhone software development kit, version 3.1.

59 questions
3
votes
3 answers

Image Move & Resize not working when using a custom camera overlay iPhone SDK 3.1+

I used to use the old-school method of adding an overlay to the camera screen, and that worked fine. However, since 3.1 came out, Apple is insisting that I use the API to add an overlay. I quickly got the overlay to work, but it seems that if I…
Jeremie Weldin
  • 184
  • 1
  • 10
2
votes
1 answer

Importing file from email when using Xcode 3.1.4 with iPhone SDK 3.1

I want to import an csv file in my app. I search but found solution only for iOS 4. So my question is that is their any way of making file sharing enable and to import file from an email attachment? 2nd if not then what you suggest for importing a…
Iqbal Khan
  • 4,587
  • 8
  • 44
  • 83
2
votes
2 answers

When to release an object added to an NSMutableDictionary

I am working on an iPhone app that will construct, at run-time, an NSMutableDictionary for which the values (of the key-value pairs) will be NSMutableArrays. Being somewhat new to the Objective-C, I am concerned that the following will cause a…
Ben Birney
  • 888
  • 9
  • 17
2
votes
2 answers

UIActivityIndicatorView inside UIButtonBarItem not working properly

I am trying to get a UIActivityIndicatorView to work inside of a UIButtonBarItem using the following code: - (void)showActivityIndicator { UIActivityIndicatorView *activityIndicator = [[UIActivityIndicatorView alloc] initWithFrame:CGRectMake(0,…
Kyle
  • 17,317
  • 32
  • 140
  • 246
2
votes
5 answers

CorePlot problems

I started with core-plot now and came to some problems. I followed the tutorial from this page: http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application and completed with the instructions from this page:…
Paul Peelen
  • 10,073
  • 15
  • 85
  • 168
2
votes
2 answers

Rotate the content of a MKMapView

I need to rotate the content of the mapView according to the compass value: float myHeadingValue = newHeading.trueHeading; and for rotating the map I use this: [mapView setTransform:CGAffineTransformMakeRotation( [self…
isiaatz
  • 1,125
  • 4
  • 15
  • 22
2
votes
2 answers

Dismissing UIImagePickerController

I have the following code: SecondViewController *secondView = [[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:nil]; [imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera]; [imagePicker…
isiaatz
  • 1,125
  • 4
  • 15
  • 22
2
votes
2 answers

Picking video from PhotoLibrary with UIImagePickerController in OS 3.1

I am trying to pick a video from the photo library. In principle I know how to do it you set the mediaType of the image picker to an NSArray with kUTTypeMovie as its only object. But this doesn't seem to work on an iPhone 3G. Since OS 3.1 you can…
Ben
  • 1,922
  • 3
  • 23
  • 37
2
votes
0 answers

PageControl Optimization

I'm developing for iPhone, SDK 3.1. I have about 150 images that I need to display to the user for him to page through. I've copied the code from the PageControl sample from Apple but once I load it onto the iPhone the application crashes if I…
Ken
2
votes
1 answer

In Xcode 3.2 under iPhone-SDK 3.1, how do I avoid "Dead store" error from CLANG analyzer?

I just upgraded to Xcode 3.2 and am using the Build and Analyze feature to check old code for errors. While doing something I thought was innocuous, I get this error: "Dead store: Value stored to 'newBook' during it's initialization is never read…
willc2
  • 38,991
  • 25
  • 88
  • 99
1
vote
0 answers

Building a universal app for iOS 3.1, iOS 3.2 using iOS SDK 4.2

I have a universal app which was originally built for iOS4.2. Since this project does not use many 4.0+ specific APIs, I would like to build this app with deployment target set to 3.1. It gets built with no problems. But when I install and start…
Engin Kurutepe
  • 6,719
  • 3
  • 34
  • 64
1
vote
2 answers

change background color of a section header title (normal tableview)

My app looks just like the default address book app on iphone. For each alphabet there is a section header in the address book( A, B . .) in gray gradient background color. Is it possible to override that default color to some other tint color ?
thndrkiss
  • 4,515
  • 8
  • 57
  • 96
1
vote
2 answers

will a iphone 3.1 build work on 3.2, 3gs and 4.0.1

I am planning to do a app which works on 3.1 and launches on 3gs as well. Please let me know how will it be displayed when launched at iTunes connect ? will it be like works on 3.1 and above and will get installed on iphone 3.1, 3.1.2, 3gs and 4.0.1…
thndrkiss
  • 4,515
  • 8
  • 57
  • 96
1
vote
1 answer

Where can I download iPhone SDK 3.1?

I'm trying to setup Titanium Developer which requires the iphone sdk 3.1+. I can't install 3.2 because I'm running OS X 10.5.6. Where can I download sdk 3.1?
John Himmelman
  • 21,504
  • 22
  • 65
  • 80
1
vote
2 answers

How to remove separator from tableview?

I used interface builder and changed my tableview style as grouped and separator as none. I was able to see the change in the display style which is grouped right now. But the separator change is not getting reflected. How to remove the separator?
thndrkiss
  • 4,515
  • 8
  • 57
  • 96