A quick question, for a quick answer (since I'm not finding any):
Is there a way to change the font of the section's title (given by titleForSection) in iPhone?
Thanks a lot!
Hi everyone, I'm reading O'reilly's Learning iPhone Programming and on page 79 it says I have to create a new file (UIViewController subclass) and thick the checkbox to ask Xcode to generate an associated NIB file. The problem is: I do not have this option in my XCode 3.1 (this options is from XCode 3.2). So, I have to do it manually, and I don't know how. Could someone please help me? Thanks in advance!
Hi,
I am writing and opengl based iphone app and would like to allow a user to translate around a view based on the direction that they move two fingers on the screen. For one finger I know I could just calculate the vector from the start position to the current position of the users finger and then find the unit vector of this to get just the direction, but I don't know how I would do this for two fingers, I don't think adding the components of the vectors and calculating the average would work so I'm pretty much stuck...
thanks in advance
I'm using libxml2 for SOAP-Actions in an iPhone App.
The big problem is that i want send an SQL-Statement with
NSString *query = @"SELECT test FROM database WHERE test = \"string\""
But libxml2 converts the qotes " into "
Any ideas how to prevent this?
Lets say I have an employees relationship in an Company entity, and it's to-many. And they're really many. Apple in 100 years, with 1.258.500.073 employees.
Could I simply do something like
NSInteger numEmployees = [apple.employees count];
without firing 1.258.500.073 faults? (Well, in 100 years, the iPhone will easily handle so many objects, for sure...but anyways)
Hi,
I am planning to make an iPhone search app. the user types in the search string. the string will be searched by some search engines like Google, Live, Yahoo ...
I need to get the search result in the XML format. Is there any way to do this. Help needed. Please.
Thanks and regards,
Shibin
I have a fullscreen path which consists of about 20 lines. Currently I am animating changes in this path using an NSTimer which frequently calls -setNeedsDisplay. Believe me: Performance sucks absolutely.
I slightly remember that there was some better way to animate paths on the iPhone. Some kind of special CA layer. I don't remember anymore it's exact name. Who knows?
How do you get the unique identifying information from an iPhone/iPad within an app? For instance, I want my app to send support emails to my website for users who have problems and I need to uniquely identify the phone number/id of the device it is running on. Is this possible, forbidden?
Hey,
This one has me stumped.
Is it possible at all to change the background color of a UIButton in Cocoa for iphone.
I've tried setting the background color but it only changes the corners. SetBackgroundColor seems to be the only method available for such things.
Please refer to my screen shot
[random setBackgroundColor:[UIColor blueColor]];
[random.titleLabel setBackgroundColor:[UIColor blueColor]];
I just watched this video from Apple that shows multi-tasking on the new iPhone (running iOS 4.0). What are the implications of multi-tasking to developers? Include both positives and negatives.
For example what happens if the user decides to launch two resource-intensives apps at the same time, one of the apps crashes and progress in a game (for example) is lost. Should developers be considering this when writing apps for the new OS and phone?
The Twitter app is a tab bar app on the iPhone. Nothing in any of the tabs will rotate, yet, when you click on a link from a tweet, the view controller that is pushed on top of it IS allowed to rotate. The only rotations I have ever doe is from tilting the device, landscape or portrait, but I don't understand how to use 2d transformations and animations to rotate views.
How do you rotate any view with that's a subclass of UIView?
Apple doesn't offer promotional codes for in-app purchases. What's the best way to let users try the features or content unlocked by in-app purchases for free, while complying with Apple's Developer Guidelines?
Examples of apps that worked around this limitation would be much appreciated.
hi
anyone know how to do api request for get recent photo from flickr ?, i'm still new to objective c, if anyone have tutorial or simple example to do it for iphone application that will be great.
Sorry for the multitude of iPhone Programming newb questions but..
what is the reason for having an unsigned type for something such as
- (unsigned)count
for the NSArray class.
Why not just define it as
- (int)count
?
Hi,
I am creating an iPhone application in which when I make a call to anyone I should be able to change the pitch of my call voice in real time.
So for that which framework or any third party library should I use?
Thanks,
Sunil.
I have selected Default Language as "Australian English" as Default language. When I am submitting the binary it showing as rejected"Red Icon" with status "Missing Localized Screenshots". The application is in only single language. I have added screen shots also the application is only for iphone.
When I am looking binary information that is showing as:
Localizations : ( "en-AU" )
Please suggest me where I am making mistake.
I have implemented one photo application in which i want to implement zoom and pinch zoom effect same as default photo application in iphone.How it possible please help me for this query.thanks in advance.
hi friends,
I want to set auto lock my iphone/ipad/ipod screen programaticaly after some time delay. Can any one tell me how to do the same?
if any one is having any suggestion please let me know.
thanks in advance.
how can we call the defined function on button action in objective-c on iPhone.
for example:
we define the function as follow
-(void)abc
{
//
}
now how can i call this function on the button action
Does anyone know the best way to use the iPhone location services (lat/long) to determine the zip code+4 of the user? Does MKReverseGeocoder have the ability to pull back zip+4?
Thanks!
-tony
I was trying to fetch remote notification info when the app was not running,so I was told that I can get from :
UILocalNotification *localNotification = [launchOptions
objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]
in method:
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
,but still can't get info.
Then I use alertView to show the info on iPhone(launch without Xcode),still can't get the info.
Any other issue would cause this? Please let me know if you have any ideas.
Hi i am fairly new to objective c and have been doing some iphone programming.
Is it possible to look up the value of a variable in a different class?
Basically what i am doing is running a function that exists in my app delegate from a view controller, but the app delegate needs to use a variable stored in the view controller from which the app delegate function was called. Make sense???
Any help would be grateful.
James