Do you know if is possibile to get the uuid, the result of [[UIDevice currentDevice] uniqueIdentifier], using a web app ?
I need to access from iphone/ipad a web page using safari (and not UIwebview under application control) and I should identify the device using its UUID.
For example I would like to send an email Message to a user con...
when iam trying to call
rootviewcontroller *rootview=[rootviewcontroller alloc];
[rootview methodname];
is showing warning "root view controller may not respond"
...
Hi,
I have just submit my app to the App store, and received many comments that the application crashes on startup on older iphones. The deployment target was set to 3.1.3 and base sdk to 4.0. I thought I didn't use any api from 4.0 so the only problem could be three20 library.
Now I have two xcodes installed on my computer. After some...
How can I initialize a UITextView that is nice and pretty. I have the line:
textView = [[UITextView alloc] initWithFrame:CGRectMake(150, 150, 100, 100)];
but I'd like to make it look nice and I do not know the functions or the syntax to do so. I'd like it to have word wraping and I'd like the corners to be rounded. Also, how can I mak...
Hi, whenever I set my tableHeaderView I'm not seeing it in the Simulator.
If I add it as a subview, it ends up getting drawn underneath the section header. Any idea what I'm missing here?
I do have a XIB file. I didn't see any properties in IB to affect headerViews though.
- (void)viewDidLoad {
[super viewDidLoad];
MyTitleView *titl...
I am a very inexperienced "programmer," and I have been asked to write a web-based app that involves you writing in a text area and clicking some radio buttons/checkboxes. When you click on a text box, it zooms into it and displays the keyboard like it should, and you can write whatever you need to write in it, but the problem is this:
...
I have a custom UIView subclass. In IB, I have specified a "placeholder" UIView and set the class to my class name. My override of drawRect method is working, and the background is coloring properly, but the initWithFrame is not firing. Why?
- (id)initWithFrame:(CGRect)frame {
NSLog(@"initWithFrame");
if ((self = [super initW...
Hello there dudes.
Quick problem:
I have an UITabBarController with 2 navigation controllers [lets call them Left and Right Controller]
On the default selected Left Controller I can push a new View Controller that detects interface orientation.
On the Right Controller I can push the same View Controller but it won't detect interface ...
Hello,
I'm trying to change the enabled property of an UIBarButtonItem after doing some stuff in an NSThread. After pressing the button I set the enabled to NO then perform the threaded part and at the end I try to re enable the button. Fairly basic.
Somehow this fails, however I'm able to change any other property of the the UIBarButt...
I have an app in the appstore which worked well on ALL iDevices (including 128MB RAM)
then i added some features, and now the app crashes on 128MB iDevices.
i checked for leaks and fixed them.
the memory usage of previous version and current version is the same.
i have been searching for the problem for literally days and can't find ...
If I have 300 640 x 960 images (for iPhone 4) and 300 1024 x 768 images for iPad, and I want to make a universal app, does the installed app on the iPhone include all the iPad specific images and vice-versa?
Seems like on many apps it would greatly increase the installed application size on different devices.
...
So I'm trying to write an Objective-C macro that takes an object and a value, releases the original contents, and makes the assignment. Ideally, it would look like this:
myObj = RELEASE_AND_ASSIGN([SomeObject object])
Some things to note, if we leave out the assignment and put the object in the macro, the macro is easily written like...
Hey there,
I have got an application, that is getting data via XML-files. During the parsing-part the data is written/inserted to the local sqlite3-database on the device.
So, if the data is syncronized, there does a loading-screen appear (performed in background) and is telling the user, that the data is syncronized.
This is working q...
I am trying to programmatically switch the tab bar item. The following code works fine, but I can't get it to work in certain situations:
self.tabBarController.selectedIndex = 0;
Here is the problem:
I have a tab bar controller with two UIViewController classes. In the second tab, I have the code above placed inside an if statement...
Does any one know how to call iphone calendar controls in my application?
sample code will be helpful for me
waiting for a quick reply......
...
Hi, I try to change the background color of my actionsheet, I just use the method:
[actionSheet setBackgroundColor:[UIColor colorWithRed:30 green:30 blue:30 alpha:0.5]];
and I put it in the willPresentActionSheet. But the background color don't change, why?
thx, Alex
...
Can anybody give me tutorial for how to put youtube video about specific subject in application?
...
I need help with downloading from webserver...
What i currently do is get XML file from web servers that contains image locations, parse XML, download each image, store image on iphone, and store image name to sql database.
This takes lots of time because there is large amount of images to be downloaded and i am downloading one by one....
Is there a way to determine programmatically if the currently running app was built and signed for development only or whether it was built for distribution? And can one determine if was build for app store or ad hoc distribution?
Is it e.g. possibly to access the code signature and get the information from there? Or are there certain f...
I'm trying to make a landscape app that uses navigation controller, but I can't get the app to launch in lanscape mode. Once I'm in another view and I use [self.navigation popToRootViewControllerAnimated:YES]; then the root view is in landscape. Why isn't it in landscape from the launch of the app.
I've already put it in landscape mod...