Is there any reason adding a UIPicker to a view might somehow rob a programatically created button of its functionality? I initially instantiated a UIButton to take me to a different view, and all was well and fine. Then I went ahead and added a UIPicker to the same view with the purpose of selecting a few key fields which could then b...
Old SDK solution:
- (void)modifyKeyboard:(NSNotification *)notification
{
UIView *firstResponder = [[[UIApplication sharedApplication] keyWindow] performSelector:@selector(firstResponder)];
for (UIWindow *keyboardWindow in [[UIApplication sharedApplication] windows])
for (UIView *keyboard in [keyboardWindow subviews])
...
Having worked through some tutorials on some basics via the iPhone, I'm struggling to determine how best to structure my code. The book I'm using points out things like "you wouldn't normally put this here, but for expediency...". Well, I'd like to know what one would "normally" do.
My application is somewhat simple - there is a table...
I'm getting the following exception is thrown under iOS 4.0 but not under 3.0 using core data. I'm populating a tableview controller with data from a core data store. Then drilling down on a row and requesting the details for that row and passing them onto a detail view.
FATAL ERROR: The persistent cache of section information does not...
I'm writing an app that uses UITabBar for parts of the navigation. I'm also using UIScrollView for presenting more information than what the screen can typically handle. Because of this, I'm needing to set the scroll view to take into account the height of the UITabBar so that all of the information is displayed.
Is there a way to calcu...
For example, the method:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
in UIResponder has an NSSet* touches as the parameter.
In the method itself, how do I determine what type of object touches actually contain? In this case, it contains a set of UITouch. But I knew that from reading some tutorials online.
In ge...
I'd like some assistance to properly remove subviews from a scrollview, to reduce memory usage. Every time the user scrolls, I ask to grab page, page -1 and page+1 to get the views loaded in the scrollview.
Now my issue is that if there's ten views side by side, when you reach the tenth view, all the previous 9 views are still subviews ...
Is it possible to show a alphabet/special character instead of number on the app icon on home screen ?
...
hi all,
i am working on an application which is based on accelerometer.
i have a ball which moves on the basis of acclerometer.
i have tried to bound the area of ball in about 320 by 480.
but when the ball reaches one of the corner, the ball gets out of bounded area and gets disappear, and comes again from anywhere.
i have no idea w...
Dear all,
I am attempting to develop an iphone application which has a tab bar at bottom, a navigation bar at top and below navigation bar is a carousel menu bar, this carousel menu bar is similar to media carousel menu in ipod, but it is thinner and just contain text menu item, which one is on top will be bigger, the others are smaller...
I want to introduce the ability for the my core-data app to download a NEW sqlite file and update its stored data. Note the data model is not changing.
At first I am not worrying about user changes to the stored data, and simply want to overwrite it.
I am finding the only way the stored data is updating is to change the name of the sq...
Hi,
When we use Graph api in Facebook the results come in the following format. IS there a convenient class built to retrieve them in iphone?
JSON parser?
{
"type": "audiotrack"
"name": "Without Me - Eminem",
"metadata": {
"trackinfo": {
"title": "Without Me",
"artist": "Eminem",
...
I am creating my first tab controller app. I have 2 tabs with 2 uiviews in them. I did this mostly from interface builder all I did in xcode was add 2 files firstControllerView and SecController view. I can see the tab controller is working went I run the app (I simply changed the background color on the 2 uiviews in the tabs to see the ...
I have Xcode 3.2.2 and I am trying to use LLVM version 1.0.2 as a compiler.
When I do that, I see the error
Library not found for -lgcc
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang
failed with exit code 1
How do I solve that?
thanks.
...
hay guys,
I am trying to send a word/text from my iphone application to php page
any idea......?
Thanks in advance
...
Hi all ,
My app have
AppDelegate ----> added MyViewController.view
MyViewController contains UINavigationController,
i.e. MyViewController.view = MyViewController.aNavigationController.view
With this I able to see the added view correctly
Then I created a NextViewController
Added one button to MyViewController with action
On bu...
As i was changing my code and used another .h and .m files added, i decided this wasnt the best way, so i reverted back to my old code via snapshot feature.
When i did, i ran my code and now i get this
Unknown class AsynchronousImageView in
Interface Builder file.
I looked at all my source code and my UI and there are no links b...
Hi I have seen a few examples of adding breakpoints in gdb using the command fb. I have tried using the following but it doesn't work...
fb -[NSTimer release]
I tried it but it says.
Function "-[NSTimer release]" not defined.
As you can probably tell I want the debugger to stop when release is called on any NSTimer object.
How c...
I have loaded pdf file in uiwebview.But in webview its show gray color .I have tried to remove gray color.But not get success.I have used [UIColor clearcolor].But not working.Can you give me idea how to remove gray color from the UIwebview?
Thanks in Advance
...
[progressind startAnimating];
[self performSelectorOnMainThread:@selector(methodgoeshere:) withObject:[NSDictionary dictionaryWithObjectsAndKeys: aURL, @"aURL", aURL2, @"aURL2", nil]
waitUntilDone:YES ];
[progressind stopAnimating];
[navigationController pushViewController...