Hi all,
I have a UIButton (Info Dark) which opens a small box on click. Is it possible to change the style/state the button so that the buttons appears highlighted or something like this as long as the box is open?
Or do I have to use own background images for the button?
...
i have created a movie application .when i run it simulator it runs without any error and gives me output.But when i try to deploy it on my ipod it gives me the following error:
The executable was signed with invalid entitlements.
The entitlements specified in your application’s Code Signing Entitlements file do not match those specifi...
I have view controller that has mkMapview, buttons and another UiView on top of the Map. The map don't respond on touches event.
How can I make mapView to respond on touch events.
Thanks in advance.
...
I am planning to release an iPhone app. Where can I set the company's name in the info.plist file?
UPDATE:
In addition to the company's name, I wanted to set the Product name and version.
Is iTunes Connect the only option? or we can do it in the project itself.
...
I looked around on Stack Overflow and I didn't find the solution of a strange problem.
I started developing a project on XCode 3.1 then I decided to upgrade on XCode 3.2.4 and targeting iOS3 iPhones. I then followed the topics dealing with that and I changed the Base SDK to iOS 4.1 and the target os to 3.0. Everything worked fine until ...
Say I have a bunch of views in a UIScrollView and I want each one to appear on the screen, one at a time, how do I do so?
...
for (NSString *item in items) {
NSString *ref = [item stringByMatching:myregex1 capture:2];
NSString *value = [item stringByMatching:myregex1 capture:3];
NSLog(@"%@ : %@", ref, value);
AllOrderItems = [AllOrderItems stringByAppendingFormat:(@"%@: %@ \r\n", ref, value)];
}
the AllOrderItem...
I need to implement the push notifications for one of my projects. Some of the possibilities I evaluated are:
building my own APN sending script on the server
using Urban Airship
Which one would you guys recommend and why?
NB. I know Urban Airship costs a bit, but assume that the 1 mil free notifications are enough for me.
...
Hi all,
I have an app that imports a .CSV file and turns each line into a Core Data object that is stored in a database. The CSV files that I am importing have about 40-something columns and each column maps to an attribute of the Core Data object.
When I started the project, there was only one CSV format that I was working with, so I...
hello friends, i want to know that how we can use UISwipeController in my application?
...
I have an instance variable declared in the implementation file which can be accessed using the property defined by synthesize
@synthesize myProperty
Now, I want to assign this property something inside the Selector event of the MenuItem in cocos2d library. You can think of it as a accessing myProperty in a callback function. For som...
This piece of code works fine. However, if I change the animated parameter to YES it crashes.
AccountViewController *accViewController = [[AccountViewController alloc] initWithNibName:@"Account" bundle:nil];
[self.navigationController pushViewController:accViewController animated:NO];
[accViewController release];
What could be wrong?...
Hi all,
I want to build an application that will be launched automatically on a particular date. Is there any way to do that in Iphone 4.0 OS. Actually I am building a sort of reminder that will send an sms for occasions like birthday, or other event. Thanks in advance for your help.
...
I want to change the feed source...
the code is:
//
// BlogRssParser.h
// RssFun
//
// Created by Imthiaz Rafiq on 8/15/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
@class BlogRss;
@protocol BlogRssParserDelegate;
@interface BlogRssParser : NSObject {
BlogRss * _currentI...
hello in my application i use the code below to handle and play sounds, I want to know if i need to release any things or nothing to do.
the code :
-(void) playNote: (NSString*) note type: (NSString*) type
{
CFURLRef soundFileURLRef;
SystemSoundID soundFileObject;
CFBundleRef mainBundle;
mainBundle = CFBundleGetMainBundle (...
Hi friends,
In my program, if i put the below line in cellForRowAtIndexPath(Tableview), the scrolling is fine. Otherwise, the lines are crashed. I want to know what this code did?
The code is....
for (UIView *oldViews in cell.contentView.subviews)
{
[oldViews removeFromSuperview];
}
Thanks in advance
...
Note: This is a question about simulating the Browser on the iPhone, not simulating the whole device. I know that iPhone-device simulation is not possible on Windows, as discussed at length here.
I have a web site that looks really weird when viewed on an iPhone - its some sort of CSS issue.
The same issue does not occur when I view th...
It seems from experimentation that the collection expression is evaluated only once. Consider this example:
static NSArray *a;
- (NSArray *)fcn
{
if (a == nil)
a = [NSArray arrayWithObjects:@"one", @"two", @"three", nil];
NSLog(@"called");
return a;
}
...
for (NSString *s in [self fcn])
NSLog(@"%@", s);
The ...
I have following lines of code in a program
VisitWebsiteVC *visitWebSite
= [[VisitWebsiteVC alloc] initWithNibName:@"VisitWebsiteVC" bundle:nil];
NSLog(@"Retain Count :%i",[visitWebSite retainCount]);
[self.navigationController pushViewController:visitWebSite animated:YES];
NSLog(@"Retain Count :%i",[visitWebSite retainCount]);...
Hi,
First,
I have different forms that i generate automatically (UITableView). My forms consits of textfields, pickers, and switches. I generate them by using a self wrote plist file with a logic in it.
Second,
I have made up the objects to fill up via my datamodel and they work fine.
Now,
It' time to look for "the best practice" to f...