Hi,
I have a class that instances some other classes. It's working to control their lifespan, or supposed to ;) A root class managing others which contain events and are subviews of the root view.
I have a lot of graphics involved per view and need to clear things out before loading the next.
Any idea how to unload the current subview...
I have a UIWebview that I load with loadHtmlString. The html has some links in it, and when they are touched I intercept that and do another loadHtmlString. This all works fine except that the gray box, (the tap highlight), remains on the screen after my next loadHtmlString call. Why is this happening? What do I need to do to cle...
See following code carefully. Because it works perfectly. Try to add in your application. it will work
- (void)viewDidLoad {
[super viewDidLoad];
// title label - tip
UILabel *tmp=[[UILabel alloc] initWithFrame:CGRectMake(50, 50, 200, 200)];
tmp.textColor=[UIColor colorWithRed:(14.0/255.0) green:(105.0/255) blue:(128.0/255) alpha:1.0];...
I am open iphone photo library from the my application.And i am selecting photo in squre shape.Its fine.But i want select photo in round shape.How it possible?
...
Hello,
I'm dealing with UINavigationControllers in my application, all handled by an UITabBarController. Everything works fine until my controllers fall into the automatically generated "More" tab.
I reproduced the problem in the simplistic example. Am I doing something wrong? I can't figure out.
Thx for your help.
#import <UIKit/UI...
Hi,
I have a view with several subviews which in turn have several subviews. If I fire an event, say touches ended, in one of the bottom level views, how can I see what that event generating view was in the root view or second level view?
Additionally any idea how to catch that event and then release the mid level view which would in t...
Probably easiest to explain by example:
In the Facebook 3.0 app, if you click on a friend, it shows "Wall | Info | Photos" in a UISegmentedControl, which acts like a UITabViewController. If you then click on, say, a photo, it pushes a sub view onto the UINavigationController stack, which slides the UISegmentedControl (and parent view) t...
Has anyone submitted an applicaton using UIGlassButton? Was it approved?
I am trying to use a colored rounded button and do not want to use these hacks.
http://stackoverflow.com/questions/372731/how-can-i-set-a-button-background-color-on-iphone
Why are we not allowed to use UIGlassButton?
...
I want to check the last modified date on a file on a web server. Any help would be great. Thanks.
...
Ahoy hoy everyone :)
Here is a list of links. You will need it when reading the post.
I am a newbie to Objective-C and try to learn it for iPhone-App-Development. I used the tutorial linked in the link list to create a standard app with a simple basic Navigation.
This app contains a "RootView" that is displayed at startup. The startup...
Hi,
I have setup coredata in my appDelegate, but it first loads the mainWindow.xib and the corresponding controllers+views in that xib file. Those controllers need to have a managedObjectContext to load properly. And after the xib is unarchived it runs the code in my appDelegate.
How can i setup my coredata and then load the mainWIndow...
Hi all,
Though it is relatively straightforward to determine if an iPhone is on Wifi or a data network programmatically in your application, I can't figure out a way to determine if the iPhone is on Edge or 3G.
Anybody figure out a way to determine this?
Note: Not worried about Apple AppStore acceptance policies so I don't mind doing...
Got a crash report from a beta tester and I'm having trouble identifying the root of the problem. Clearly something went wrong when trying to set a UIButton (screenOverlay). Here's its creation in ViewDidLoad:
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
button.frame = CGRectMake(0, 0, self.view.frame.size.width, sel...
I have applied following code to my application to change the navigation bar image.
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.navigationController.navigationBar setTintColor:[UIColor blackColor]];
[self setNavigationBarTitle];
}
-(void)setNavigationBarTitle {
UIView *aViewForTitle=[[[UIView alloc] in...
I have just heard that - " push notification " is possible in iPhone
I need following details.
what is push notification ?
How it works ?
What does it requires ?
Any sample code link is available ?
Any documentation link if available ?
Some guidance/tips from "StackOverFlow Masters" about developing the above requirements.
Thanks i...
MapKit doesn't natively support local search results, so I'm looking for a way to get a list of local pizzerias (or coffee shops, or a specific retailer) via some http api call.
The default google maps api requires javascript, so it's not clear to me how to integrate this into an iPhone app (without displaying a UIWebView).
I have foun...
I am writing a simple video uploader application on iPhone 3GS where I first direct the user to photos album, and then select the video to share or upload. I am using the UIImagePickerController in the following way:
videoPickerCtrl = [[UIImagePickerController alloc] init];
videoPickerCtrl.delegate = self;
videoPickerCtrl.sourceType =...
Hi,
Root view is a UIImage View, it has subviews, those have subviews. My root view will open in landscape i have set both project properties in the project's .plist and have integrated application.statusBarOreintation in applicationDidFinishLaunching and verified that it works.
But all of my subviews are appearing in portrait. How do ...
Hello, in UIPickerView there is this delegate UIPickerViewDelegate which catches changes in a component for the selected row. How can i recognice "smaller" changes? For example getting the current frame-values of a subview in a scroller-component (coordinates of the view) -updating very often. Is there a way to catch an animation key or ...
Hi,
I have some strange performance differences when I run an iPhone application on the simulator a) from XCode and b) directly in the simulator.
One method which calculates some stats from all objects in my Core Data DB takes less then one second when I run it directly in the simulator and it takes 22 seconds when I start the applica...