I am developing iPhone applications. I have to use push notification for my iPhone application. For that, I have created new provisioning profiles for my iPhone application. I have configured for APNS. Before installing this profile, the application was working in my device. But after installing the profile, I am getting a message. That ...
Hi,
i'm trying to connect a button to an action with xcode 3.2.3.
I've done this procedure hundreds of times but now, sometime, xcode don't show class actions and i can't complete the ctrl-drag link.
In this specific case, i've this data structure:
@interface Parent: UIViewController{
}
-(IBACTION)action1
@end
@interface Child:Parent{
...
Hi friends,
I want to change the navigation color in the TTPhotoviewcontroller using Three20.I have changed the color in the TTPhotoviewcontroller, but the image is doesn't set in that view. If i changed the color, the navigation bar occupies some place and image is not set to the full view.
In TTPhotoViewController.m,
- (id)in...
Hi everybody,
I am fairly new to iPhone/ObjC programming, though I have several years of experience in coding, particularly DB development.
The project I chose as my debut is a little app meant to support playing a board game, where one is required to make notes of the playing pieces status. In short, I want to replace pen and paper wi...
Example: en_GB is output, need en.
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSArray *languages = [defaults objectForKey:@"AppleLanguages"];
NSString *currentLanguage = [languages objectAtIndex:0];
NSLog(@"%@", currentLanguage);
Title says it all.
Thanks in advance,
Lewion
...
What I'm trying to do is this:
I've got a web app the user can choose to add to the homescreen and run in standalone mode.
Sometimes the server side of the app sends SMS'es to the user to notify the user of
significant events. The SMS contains an URI to the app page of the event.
If the user has added the application to homescreen I w...
I would like to measure the speed of another vehicle on a road (not one that the iPhone currently is in).
How would you go about measuring the speed of that other moving object?
...
In my app, I have a UIViewController presented modally with the default slide animation - let's call it 'A'. During the time 'A' is busy popping up it's possible another piece of code will try to use A to present a further modal viewcontroller.
On these occasions, I get an exception, presumably as 'A' isn't fully ready yet.
Does anyone...
If you have some UITextField into a UIScrollView, each time an UITextField becomes the first responder, UIScrollView automatically scrolls to show the field if it is under the keyboard.
Why can't do this when the responder is another responder that can be first responders instead of an UITextField? Have I to subclass each UIResponder th...
Hi everyone, my first question here so be gentle :)
I am trying to use a navigationController to switch views.
I got the following down:
I got a MainView controller which switches to different view controllers using this code:
UIButton *buttonPressed = (UIButton *)sender;
switch (buttonPressed.tag) {
case 1:
viewContro...
Hi folks..
Anyone know whether (and if so, how) we can create the half-turned page effect Google Maps on the iPad uses to show the options to change the Map type?..
See below image to see what I'm talkin' about..
http://picasaweb.google.com/103912402546181867188/WebPics#5516711523655880386
Incidentally, any pretty good Map Kit tutoria...
Hello,
I have created a new version of iPhone app. I wanted to change the icon, so:
I added the icons in different sized to the Resources folder of my Project in XCode:
I specified the icon files in the info.plist file:
in iTunes Connect I added new version of my app and replace the old icon with the new one. The new icon is...
Hi folks
how to make website that should compatibility with desktop browser as well as mobile browser
Thanks in advance
Aswan
...
Hi all
I have a MOC created in my AppDelegate class. I have a MOC property in my RootView which is set by the AppDelegate with something like:
rootView.managedObjectContext = self.managedObjectContext;
This rootView creates at some time a ModalView and sets there a MOC property also by the same way.
Everything works fine. I can crea...
Please let me how to i add XML to three20 so that it display images through XML
...
Can anyone point me to where [indexPath row] is described in the documentation, I have looked at NSIndexPath but I can't find any mention of "row"? I am assuming its an NSUInteger, but I would also like to double check its type and see what other properties are available.
Example:
- (void)tableView:(UITableView *)tableView didSelectRo...
Hello,
I've just updated xcode to release 4.0. A lot of the frameworks in my App are now highlighted in red, they appear to be missing. i.e. MapKit.framework
Is 4.0 not backward compatible with 3.1.3 ?
Regards,
Stephen
...
I get the following internal error message whenever I try and Refactor:
File: /SourceCache/DevToolsIDE/DevToolsIDE-1708/pbxinterface/Snapshots/XCDirectorySnapshotSyncOperation.m
Line: 137
Object: <XCDirectorySnapshotSyncOperation:0x201d51560>
Method: _setErrorMessage:
Assertion failed: nil == _errorMessage
I have tried ...
I want to display data which is text data , in the uiwebview can some one guide how to do the same.
...
Hey, I am trying to add bar button items to my UINavigationBar (nav bar) but I have found out that bar button items are not properties of navigation bar and hence can't be accessed directly like:
UIBarButtonItem *rightButton = [[UIBarButtonItem alloc] initWithTitle:@"Done"
style:UIBarButtonSystemItemDone target:nil action:nil];
...