I am having a really weird issue. My app runs great on wifi, all of my images load from the net.
If i run the app for the very first time on 3G, images wont load.
If I switch to wifi, then switch back to 3G, images will load (new images load as well as they change).
I have no idea how to diagnose.
...
Hi All,
I am developing an iphone app. In the image below I want the first name to be in plain font and the last name to be bold.. How can I do that?? please suggest me..Please check this image
Another ques..Now I think the reverse way but the problem here is the first line and second line you see are part of the same string. I want th...
Hi there,
I am currently using IOS SDK 4.0.2 and learning how to do UIAutomation. Unfortunately I found that in the Simulator, when I try running a simple Java script test (that just assigns variables) I get the following error.
Unexpected error in -[UIATarget_0x5d04f60 frontMostApp], /SourceCache/UIAutomation_Sim/UIAutomation-37/Frame...
When my sqlite database is created using a core data model, at this line:
if (![persistentStoreCoordinator_ addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:options error:&error])
I get an error:
NSUnderlyingException=I/O SQLite error code:1, 'no such table: Z_METADATA'
Any idea ...
Howdy all,
I seem to be generating a lot of questions with this one little iPhone app....
I am attempting to stuff an NSMutableArray with NSStrings, and I am working like this:
...
NSString *myStr = [[NSString alloc] initWithString:@"Jupiter II"];
[txtArray addObject: myStr];
[myStr release];
NSString *myStr = [[NSString alloc] init...
Hi,
I want to confirm if it is allowed to access the SMS content programatically.
Are developers allowed to access the content of incoming/outgoing SMS's in the
iPhone?
Can I access the incoming/outgoing sms messages and retrieve the information
related to them e.g sms sent by, sent to,body, time etc using my custom built
application. ...
Hi All-
I'm trying to load a div and position it absolutely in mobile safari - think something like the alert box.
I tried to use an absolutely positioned div with top set to 50% with a margin half the height/width:
#overlay-message {
position: fixed;
top: 50%;
left: 50%;
padding: 20px;
margin: -67px 0 0 -110px;
width: 220...
Trying to create an app that does some socket communication (Writing only).
I can get it to work with a static value:
UInt8 buf[] = "play";
int bytesWritten = CFWriteStreamWrite(writeStream, buf, strlen((char*)buf));
I'm a relative neophyte to C/Objective-C and I'm trying to figure out how to pass an NSString to a function and get the...
Hi, i would like to check, usually for navigation base app.
we load the nib files for navigated views at viewDidLoad right? than the nib file will be the place where we define the class. so what happen if there is no nib file?
and if i have a custom table cell, with no nib file for table view, but a individual cell nib file only, how c...
Has anyone been able to successfully serve a DMCA takedown notice to FileDude.com or AppTrackr.org?
I realize this is not quite a programming question, but I was wondering if any other devs had tried to get pirated apps (in this case an iPhone app) removed from AppTrackr.org or FileDude.com. The latter ostensibly has a DMCA fax number,...
- (void)viewDidLoad {
[super viewDidLoad];
//..do stuff..
}
or
- (void)viewDidLoad {
//do stuff
[super viewDidLoad];
...
Hi, I have a nib file with a custom uitableviewcell inside. I dont'subclass uitableviewcell. In my tableViewController, I load my custom uitableviewcell and put it in my tableView. But when the tableview is showed, the height of my cell is the standard uitableviewcell height, why? Because in my nib file the height is 311.
Alex
...
Ok, so here's the thing. I have a UIViewController that contains a UITabBarController. That tab bar has a UIViewController for each tab button. Now, inside one of the tab buttons is an MPMoviePlayerController that is playing a stream from over the network. Playing the stream works just fine and you can see the video and hear the audio.
...
Hi,
I am writing code to send sms programatically
Program crashes at second last line.
MFMessageComposeViewController *picker = [[MFMessageComposeViewController alloc] init];
picker.messageComposeDelegate = self;
picker.recipients = [NSArray arrayWithObject:@"123456789"]; // your recipient number or self for testing
picker.body = @"...
Hi all,
I'm using the old way to do animations for a simple animation, see below the code:
- (IBAction)footerButtonTapped:(id)sender {
if (footerActivated) {
// Collapse the footer and resize the map.
[UIView beginAnimations:@"collapseFooter" context:nil];
[UIView setAnimationDelegate:self];
[UIView setAnimationDuration:...
Sorry another newbie question that I couldn't seem to find an answer to on google. Guess I don't know how to describe it well enough.
On the calendar app for the iphone, when you go to add an event, if you select from the repeat, invitees, alert sections and so forth, you are brought to a screen with some choices for the field.
Is thi...
I've come over from experimenting with android to Iphone development. so i'm having a lot of trouble not only finding what i'm looking for but knowing even the right term to use for this subject. Alright, this is what i'm looking for, i just need to know if it's possible, and if it is, a push in the right direction.
The best way i can d...
When my iPad is connected to my bluetooth scanner it won't show the keyboard in my app.
Anyone know of a work around for something like this?
...
I think I've done all I should to detect a shake, but motionEnded:withEvent: never gets called. (One wrinkle is that I don't have a UIViewController - my app is based on the "OpenGL ES App" template.)
I've added application.applicationSupportsShakeToEdit = YES; to my application:didFinishLaunchingWithOptions:, and
- (BOOL)canBecomeFir...
Is there any way to determine whether the Accelerate.framework is available at runtime from straight C or C++ files?
The examples I've found for conditional coding all seem to require Objective-C introspection (e.g., respondsToSelector) and/or Objective-C apis (e.g., UIDevice's systemVersion member)
...