Hi:
I'm sure this question is fairly simple to answer... is there any way to make variables and helpers available application-wide on the iPhone, without using the Application delegate?
Thanks!
I've noticed a lot of examples for iPhone apps in the Application Delegate
- (void)applicationDidFinishLaunching:(UIApplication *)application
have
[window addSubview: someController.view]; (1)
as opposed to
self.window.rootViewController = self.someController; (2)
Is there any practical reason to use one over the other? Is one technically correct? Do controller's have the an equivalent command to number (2) like
self.someController.rootController = self.someOtherController; // pseudocode
in the iPhone Calendar app, the view to select the calendar for a particular event has a coloured circle next to the calendar name, drawn with a graduated/3D effect of a ball.
Does anyone have any sample code for how this is drawn - I can draw a solid circle in the UITableViewCell, but I'm not sure how to get the 3D effect.
Thanks.
I found email composer sample code from iphone OS Ref Library. Here is a code-
Code:
NSArray *toRecipients = [NSArray arrayWithObject:@"[email protected]"];
NSArray *ccRecipients = [NSArray arrayWithObjects:@"[email protected]", @"[email protected]", nil];
NSArray *bccRecipients = [NSArray arrayWithObject:@"[email protected]"];
My question is how to take user's input? Here all email address are predefined in code. so what are the IDs of to, CC, Bcc, subject and body fields?
I have a series of buttons that have suit symbols on them. Currently I provide these suit symbols as bitmaps. In preparation for iPhone 4 I'd like to use text instead. However Interface Builder rescales the button to account for whitespace underneath the symbol so I can't get the image to fill the button completely.
Any hints on getting Interface Builder to behave?
Just curious if the tab bar UI element in screenshots is some built in class or customized.
If it is customized, then please give me a hint on what classes I might check to have something like that.
The first screenshot is initial tab bar. When I tap on the last icon the tab bar smoothly(animated) resize itself as on second screenshot. If I press the edit button the icons are shaking(as on iPhone home) and I'm able to arrange them.
first
second
hi,
i am working on iphone project, i like to create an svn folder and link that one to my server
I tried to run the below command
fsp3s-MacBook-Pro:~ fsp3$ svnadmin create /ram/Code/SVN
i got the below error
svnadmin: Repository creation failed
svnadmin: Could not create top-level directory
svnadmin: Can't create directory '/ram/Code/SVN': No such file or directory
How to create an SVN folder in mac os x?
thanks!
I am new in iphone.I added 10 buttons on the scrollview.Buttons are scroll properly,but only 5 buttons are working last five buttons are not working.please suggest me what i do next.
I'm writing a game for iPhone, and I want an online leaderboard using mySQL, which i'm very familiar with.
How do I implement this in my app?
I would assume there's a framework/library i need to obtain?
I am getting this warning in xcode 3.1.3 iphone os 3.0.
This method is also not available in the NSDate class.
But I am getting the date from this method.
Can anyone please tell me How can I get rid of this warning????
At WWDC 09 in Session 304 "Game Development for iPhone, Part 1 (Graphics, Audio)", about 6 minutes after start of the Session, they showed off a small but nice OpenGL ES game demo and repeating over and over again how easy it is to implement. Is that source code of the demo available somewhere for download?
Hi i am new iphone i want to developing a application that is work on touch event. in this when user touch on screen then show a label msg u touch on right and same.
how to do this i im confused plz tell me.
I'm trying to write an iPhone offline webapp using jqtouch/jquery. When I disable my connectivity, it looks like the jquery .load() function silently fails and doesn't even call its callback function. I've set $.ajaxSetup ({cache: true}); but it seems to have no effect. I also have my manifest file etc. working fine - the only issue is the .load() function.
Any ideas?
I am developing an iPhone app that need to display some message on lock screen. I have tried to use local notification or CFUserNotification but neither of them can display the message on top of the lock screen. For CFUserNotification I have tried kCFUserNotificationAlertTopMostKey (refer this similar question) but it still not work. I am not going to hook springboard since my phone is not jailbreak. I have found an app do implement it and I have tested on my none-jailbreak iPhone iOS 6.0, don't know how to implement this.
Any help much appreciated.
hi,
i am developing iphone application which included UIImagePickerController Source type is UIImagePickerControllerSourceTypeCamera. In this how i can get audio values from mice as-well as i have to show it and should have option to on- off. So please help me to overcome this issue. i searched completely from UIImagePickerController document. its not having any audio property.
Thanks in advance....
I just noticed that the twitter integration on the eBay app has the same style as the official Facebook connect SDK.
I've done a search and found nothing.
Did Twitter release this kind of support for iPhone SDK?
Thanks every one!
Hello, once hardware is rotated, I use (void)didRotateFromInterfaceOrientation to adapt view when rotation is enabled but, wich method or how to detect that iphone got back to vertical position in order to readapt view???
Is it possible to test a web app in an android emulator and an iphone emulator?
Is it possible to direct the browser to a url within a mobile emulator?
I have a PDF loaded in an iPhone app using UIWebView and it displays page numbers when the pages are scrolled manually. But I've had no luck figuring out how to access those numbers and set the page displayed. Any suggestions would be welcomed. Thanks.
Hi all,
I have RGB values that I need to convert into CMYK values. I'm using the iPhone SDK to try and do this.
I have tried a couple of things, but cannot either get the values to be anything other than 0 or 1, or the K element is completely wrong (showing up as a negative number).
Any help would be a life saver!
Thanks in advance!
Hi i am new to iphone developement , can any one explain me , why setDelegate is used, where we should use it.
[request setDelegate:sender];
thanks in advance.
Hi
i am new in iphone i am using sqlite3 database. and I am retrieve value from database into table view. when we insert new data into database this is show in the table view but this is not inserted database table. i am not able to find out where this value store.
plz tell me
My iPhone app started logging this error:
lo-hi recycling invariant violated!
followed by:
Program received signal: “EXC_BAD_ACCESS”
whenever I launched it on my iPod (3.1.3) and sometimes when I launch it in the simulator.
What does this error mean, and how can I fix it?
I am using cover-flow in my app. I think this might be the problem.
Thanks in advance.
I want to allow users add files to the application document folder, so I used the iTunes file sharing. The problem is they can only add single files with a flat structure. I want to drag and drop whole folder (even with sub folders) and keep the structure.
Questions I have:
is it possible with iTunes file sharing?
if not, is there an open source project that helps me with writing a pc side app that talks to the iPhone side app and pushes the files into it?