Hi!
I have some code, which works perfect in the simulator, but i cant run it on a real iPhone device and i dont get the reason:
- (void)loadView {
self.title = @"Optionen";
[super loadView];
}
- (void)viewDidLoad {
[super viewDidLoad];
NSMutableArray *strArray = [NSMutableArray new];
NSUserDefaults *prefs = [NSUserDefaults ...
I am working on a Cocos2d iPhone application and trying to display the ads. At this point the ads are displayed when there is no error. When there is an error then didFailToReceiveAdWithError is fired. After that the iAd framework tries to get the ads by constantly trying. At some point bannerViewDidLoadAd is triggered but now it display...
Hi all,
In my app I have a custom UIView subclass (let's call it MyView) which contains three buttons and two labels. I add this view to a view controller which also has a table view (I add the instance of MyView at the bottom).
Because of the business logic rules, the labels and one button out of three are hidden in the beginning. So ...
The Core Data documentation says that objects may fault to save memory if needed. What happens if you have an object that has a property that is not a managed property?
For example, say you have a Department class, that is a subclass of NSManagedObject. It has a location iVar + accessors. The location property is not an attribute of Dep...
I have an small embedded UIWebView for my about-section of the app. When the user taps a link in there, the link opens in that small embedded UIWebView which of course has no navigation controls and isn't full-screen. I don't like that. Can I force it to open links with Safari instead?
...
For some reason, my iPhone app doesn't ask the user for permission to use their current location when the app is installed from the App Store. Because of this, my app's location-based functionality doesn't work. I'd like to catch the error and re-trigger the functionality that asks the user for permission to use their current location....
Is there a genuine way to access the a built-in camera from Safari intalled on an iPhone, iPad, or iPod Touch?
By genuine I mean no hack, no workaround, no extra app to install.
There is no flash capability installed on the web browser for those devices and I need to enable my users to, with their permission, be able to use the camera...
Assuming a user has multiple bluetooth headsets attached, and an audio session is running (playing something through one of the headsets). Is there a way to get the list of attached bluetooth headsets (maybe using the External Accessory Framework?) and switch the audio session to the other headset?
...
For older devices (i.e. anything not an iPhone 4 and iPad) running iOS4, [UIScreens screens] will only return a single screen even when a TV-Out is plugged in. Is there any way to detect that an external screen is connected and somehow create a window for that display?
...
I have an iphone app that is using a SQLite database, everything works and I can save the database to file and load it back up when the app is reloaded. But the problem i'm having is that I don't know how I can clear the database and start over from scratch.
I have tried deleting the database file, doing so will cause the app to start a...
I am creating an app that has images in a picker view, but I have noticed that these images appear pixelated. Currently, I have the resolution set at 72 pixels/inch. I have increased it to 300 pixels/inch, but have not noticed a change. Has anyone run into the issue?
...
I am hyperlinking in my application to my page on itunes where users can see my other apps. For some reason the following url results in too many redirects error on Safari.
http://itunes.apple.com/us/artist/myusername/id22222
...
I have two warnings for my project in xcode, both don't stop the app running but I want to make sure I build without any warnings.
I recently removed Flurry from my app, and libsimulate and I can't get these messages to stop appearing despite spending many hours searching for answers on StackOverflow and Google.
I know it must be a sim...
Hi all,
My application has two parts; a data importer part that takes a text file and creates Core Data objects from the data and then "saves" the data file (in this case, nutritional information for different foods). The data file is then used by the app.
The issue I'm running into is when I go to list the contents of a relationship,...
I want simple flip pages on iphone
...
Can I sync the local sqlite database on desktop/mac with sqlite database on iPhone for application by directly connecting the phone to my mac/pc?
...
I have a UIScrollView that is scrolling a fairly large UIView.
At certain times I want to limit the area the user can scroll around in. For example, I may only want to allow them to view the bottom quarter of the view.
I am able to limit the area by overriding scrollViewDidScroll and then calling setContentOffset if the view has scrol...
I need to show a (near fullscreen) object in 360 degree rotation within my iPhone app. The rotation animation has already been rendered and contains 180 frames at 960x640 (Retina display).
Interaction required will include...
- swipe left/right to rotate (animate)
- clickable areas on each image.
Can anyone suggest the best way to an...
I'm attempting to run an animation so that the scrollview's contentoffset gets continually scrolling down.
However, after each repeat, it will animate from the original position and it is not progressing.
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationBeginsFromCurrentState: YES];
[UIView setAnimationDuration:1.0];
[UIV...
Hi,
I'm brand new to iPhone development (and first question posted here) and am sort of stuck with Core Data and Table Views.
In short, my app is crashing when I delete a row from my UITableView due to NSFetchedResultsChangeUpdate being called on a record that has already been removed due to a cascade delete on a self referring table.
...