Hi,
I am running release version of the app on the iPhone, it works fine. There is no error messages in the XCode debugger:
Running…
Switching to thread 11779
Switching to thread 11779
sharedlibrary apply-load-rules all
(gdb) continue
Switching to thread 12291
Switching to thread 11779
Switching to thread 13059
Debugger stopped.
Progr...
I have a background thread that uses CGBitmapContextCreate to do some drawing to a memory buffer. I believe this is causing random EXEC_BAD_ACCESS exceptions. Keyword is random.
I believe it may be my lack of understanding of CG thread safety. That is a guess, but I've checked quite thoroughly via line by line debug outputs and the bug ...
Hi all,
I want to download an epub file in to my app locally by passing the url of the file:
http://www.jedisaber.com/eBooks/books/sample.epub
Clicking this url should download an epub. How can I get it to download to my app?
I tried using NSData but it didn't work. I also tried copying the file to my document directory but it also ...
In iPhoto, I can simply hold my finger over an image to get a "Copy" popup (like the popup you see in text boxes).
In my UIImageView's, this is not t he case. How can I enable it?
...
I need to read floating point decimals from sqlite db
I have created Variable type in database as INTEGER
i am reading with sqlite3_column_int to NSInteger variables
which parts should changed so i can read floating point integers from database
thanks for answers sorry im a newbie in this topics
...
I recently discovered that if a UITextField is being edited in a controller that's attached to a UINavigationController and the back button is pressed, upon returning to this controller, the DidBeginEditing function is called again and the UITextField keyboard is brought back up. I was wondering if there's a way to stop the keyboard from...
Hey,
how would one replicate the effect on the iPhone when you rearrange app icons? It would need to avoid collisions and rearrange the UIViews while snapped to a grid.
...
From my Question here,
http://iphonegamedev.stackexchange.com/questions/82/moving-sprites-more-then-one-at-a-time
-(void)moveBox:(NSTimer*)myTimer{
float endx=[[[myTimer userInfo] valueForKey:@"endX"] floatValue];
float endy=[[[myTimer userInfo] valueForKey:@"endY"] floatValue];
float timing=[[[myTimer userInfo] valueForKey:@"ti...
I have a lllooonnnggg NSMutableData instance. I want to feed non-overlapping sub-ranges this data to other objects. I've perused the NSData/NSMutableData docs and don't quite have a grasp of the proper way to do this.
So for example the NSMutableData replaceBytesInRange:withBytes: looks ideal but I need the withBytes: parameter to point...
I am doing Presence1 in Assignment which require me builds a multiple screens application.
I have two ViewController, vc1 and vc2. In vc1, i have two buttons. I use a same method for them and the title of them are same.
My question is How can i know which button is clicked in vc1 when i change to vc2?
There are a topic show me that I ...
Sometimes just when I think got it, i get knocked back 2 steps. Like now add this block of code with a tabbarcontroller to this page, but with an edit button, and scrap that nav bar for a tabbar, but 1/2 is built in IB, the rest is built in code. yipes, sometimes it can get a bit nuts to make sense of it all.
Has anyone found a nice ref...
I'm creating an SQLite file on the Mac using Core Data and then placing it in my iPhone app (GitHub project if curious). I want to release an update to the app with with an updated SQLite file. The model will be the same entities and attributes, there will just be more data.
I run the app in simulator with the old sqlite file. Exit. Rep...
I'm looking for a way to determine if the user has, via settings, enabled or disabled their push notifications for my application.
Thanks.
...
i have several uiwebviews with a considerable amount of text. when making a window.scrollto (as well as a window.scroll) javascript call to the webviews, they scroll to an incorrect location. e.g. i want to scroll to 12000 but the webview will scroll to 10149 every time instead. while another one will scroll to 10250. yet another one, wh...
how to declare static NSString ,if i declare within the interface
as static NSString *str; and i set to property as
@property (nonatomic, retain) static NSString *sportsName;
it gives error?any tutorial
...
Hi
I have an iPhone app which communicates with a server to get the data being displayed. I have tested this app on a wifi connection and a good 3G connection. The app works without an issue. But if I test the app on a poor connection, the app crashes.
I get an XML from the server and parse it before displaying the data. I have put in ...
when i am pressing my UIButton ,(i did not release my mouse button),i want to change
title? i tried touchupinside through XIB.but it was called after i released my mouse button.
i tried both land also all states....?
[sButton setTitle:@"hai" forState:UIControlStateNormal];
[sButton setTitle:@"hai" forState:UIControlStateHighlighted];
...
In my app delegate I have a variable which various controllers use (thank to the news group advise on how to access such variable from controllers). Each controller may need to access it more then once. I use this code:
((MyAppDelegate *) [UIApplication sharedApplication].delegate).soundEffects
Ignoring readably issue (as noneone oth...
Does anybody know where I could find WinForms controls that mimic those on the iPhone? I am interested in doing some iPhone prototyping using Visual Studio and it would be handy if I could make the controls look like the native iPhone controls.
I know that I could just use Interface Builder on a Mac, but I do not want to do this. I just...
Hi there,
I am going to develop on iPhone platform. Can some one make an explanation about how to do this? Here is some of my question?
If I want to publish my iPhone software (totally free, and will be free forever), do I have to register apple developer with $99?
If I don't pay for apple, where else can I get detail development info...