Refers to the iPhone software development kit, version 4.1.
Questions tagged [iphone-sdk-4.1]
58 questions
0
votes
1 answer
UITextfield editing changed event handle issue
I want to call the web api when uitextfield text changed.problem is,if i type text fast ex "abcd" it call the api four times.I want to handle the api call,if i type fast then is should call the api one time with hole string.If i type slowly then its…

mychar
- 1,031
- 1
- 11
- 20
0
votes
1 answer
Is it possible to import data from CSV to iphone app?
I want to export my contacts from gmail into a csv file.. Then upload that onto my server. Now, I want my app to be able to import the csv from my server and save into the app. Because my contacts list gets updated often, therefore I would like the…

Rahim Jan
- 126
- 11
0
votes
2 answers
Where to #import on Objective-C
My project has been increasing in size and I'm a little confused about where should I #import header files.
There are 3 main locations where I can import headers:
The .pch file (prefix)
The .h file (header)
the .m file (implementation)
I don't…

gabriellanata
- 3,946
- 2
- 21
- 27
0
votes
2 answers
How to overide UIToolbar method with later version of iOS 4.2
This code works fine with iPad Simulator 4.2, but not with later version of iOS4.3 or after that.I am not able to Override the UIToolbar class methods.
@implementation UIToolbar (CustomImage)
- (void)drawRect:(CGRect)rect
{
UIImage *image =…

Ajay Sharma
- 4,509
- 3
- 32
- 59
0
votes
1 answer
Can the Apple ID be accessed?
When app's are installed from the App Store, the user must provide their App ID password.
Can the app being installed identify the Apple ID for the iPhone that the app is installed on?
If so, where is the API please?
0
votes
3 answers
How to crop the UIImage in iPhone?
In my application, I have set one image in UIImageView and the size of UIImageView is 320 x 170. but the size of original image is 320 x 460. so how to crop this image and display in UIImageView.

ChandreshKanetiya
- 2,414
- 5
- 27
- 41
0
votes
1 answer
alternative of MPMediaPickerController for IPhone
I have been searching since a week for that is there any library like MPMediaPickerController which can be used for IPhone (as MPMediaPickerController works only for IPad). Kindly guide me that MPMediaPickerController works with Iphone too or not ?…

Wasim
- 1,349
- 12
- 16
0
votes
3 answers
NSInternalInconsistencyException when trying to dynamically modify number of rows in UITableView
I am attempting to use insertRowsAtIndexPaths so I can insert a table row. I am getting this error:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0.…
0
votes
2 answers
iOS App compiled for 4.1 worked as debug and AdHoc and after being released in app store crashes
Here's a strange one....
I have an app which runs rock solid since many years, and recently I did a little add on to it. I testes the app on several devices (iPhone 4, 3GS) and did that in debug an AdHoc installed modes. The app passed Apple's…

Matthias Schorer
- 91
- 1
- 3
0
votes
2 answers
How do I make 2 labels add together with each other?
Hi I'm kinda new to Xcode and I'm trying to make an app where you press a button and the number will go up; and I have 2 buttons and 2 labels. I've got it to where the 2 labels will count up, but now I'm wanting the numbers from both labels to add…

Michael Smith
- 1
- 1
0
votes
1 answer
How to show home page whenever i click first Tabbar button in iphone
In my application i am using UITabbarController and in a homepage I have 4 buttons and they lead to a their respective views. If i click another button in tabbar and again click the home button, It shows the view which was last viewed not the actual…

shadeep
- 1
- 1
0
votes
2 answers
iphone app crashes: work fine in development but when downloaded from itunes it crashes
I developed one application, recently I launched it in the apple store.
When I download the application from the itunes and launch it, it crashes at the point it retrieving the data from the web service. It works absolutely fine if I install it from…

satishdas
- 65
- 3
- 10
0
votes
2 answers
how to draw route in MapView
Is it possible to draw route in MKMapView.
I want to draw route from current location to specified place.
If you have sample app please give me a link or please give me some hint about it.
Thanks...

user619059
- 1
- 1
0
votes
2 answers
How to Rotate UIButton by tap and hold (hold - rotate by finger)
I'm noob in ios development. I need some help. I have custom UIButton with picture "arrow", so I need to rotate this button by pressing and moving finger in +360 gr. and -360 gr., like compass arrow.

Tunyk Pavel
- 2,473
- 6
- 31
- 46
0
votes
1 answer
Prevent user tapping other controls in a view while it is loading
In my application i have a Home page - It has 3 buttons each button will invoke a another view, that view will have a data comes from a web services. When i press a first button it took a time to get data from web services and to show that view. In…

Pradeep
- 37
- 4