My iPhone app (created under iOS2), has a strange behavior.
The left arrow is not aligned with other controls (on both iOS3 and 4)
My other apps work fine...
Does someone have any idea ?
Update : That bug appear with all iPhone in my company, and in all iPhone in my customer's company (both compiled on many computers or distributed via adHoc)
Update2 : The app is now on the appStore without this problem... Really strange...
I don't know exactly what the problem is. Here is some guesses that may help:
Your development sdk has problems and then it generates something wrong. But, I think that it is less likely but you still need to try
You have some images with similar names of the system ones like : "play.png". It happened to me before when I have my image named "play.png" and then the system automatically pick my own images (which looks differently) to be the play button in the MPMoviePlayerController. So, double check that as well.
Related
I have submitted an update of my application to iTunes which I got it approved today. Lately I have downloaded it on my device from iTunes to check and I found one functionality is not working as expected.
Problem:
I have a UIScrollView in my app and has horizontal scrolling. After the update I am not able to scroll it. I restarted the app and then it starts scrolling but scrolling infinite horizontally. I know this sounds stupid.
Immediately I opened my project code and ran it on device to check the issue using development provisioning profile but it is working perfectly over there.
Can any one suggest me what can be the issue? Or how can I debug that what went wrong when I submitted the update to iTunes?
You give us very little to work with, but here are a couple of suggestions:
Make sure you're looking at exactly the same code
Make sure you're testing code built with exactly the same compiler settings. For example, usually when you're running from Xcode you'll compile in debug mode. Don't. Compile it in "release" mode (with all the optimisations switched on)
Don't worry about provisioning profiles; they won't be the problem
If it's affecting all iOS 5 and 6 devices, though, I do wonder how you were testing it? And how fundamental is the scrolling to your app? It did, after all, pass Apple's testing. Maybe it's only happening on your devices because it has some "junk" left over from your previous testing?
In my iPhone app, the application receives its data from a server in XML format and displays it in UILabel. The data coming from the server may contain £ sign. This sign is not encoded in any way - just passed as is in the XML string. The app takes this string and displays it in a UILabel.
This works just fine most of the times. It always works fine in a simulator, including iOS 5.1, however one of the users reported a bug indicating that instead of display the £, the UILabel actually shows £ - which is most bizzare.
The UILabel text is set with this simple line of code:
contentLabel.text = [node getValueForKey:keyName];
I have stepped through the code with debugger and can see that the correct string value is being passed and set. I can also see correct results on the simulator.
However (as can be seen from the image below) something going amiss on this user's phone. Is there something I am missing? What could be the problem here? And, more importantly, how can I solve this? The things are complicated by the fact that everything works fine on my phone and simulator and this user is across the country from me, so I can't get physical access to their phone.
Here's the screenshot from the simulator:
And here's the screenshot from the affected user's phone:
What library are you using to parse the XML?
Try sending the user a new build over email with copious NSLogging enabled (maybe even use testflight, its brilliant - lets you see all your logs over the air as they come in) to see where the problem crops up.
Are they on a different iOS version to the simulator you were testing with? Does the problem occur all the time with their iPhone. What about your own iOS device, does it never occur?
Sorry for all the random advice, I'm just chucking stuff out there in the case that one of them fixes it.
If they're running the same app version, same device (real iPhone not simulator) and same iOS version as you I have no idea what the problem is or could be.
If you're feeling lazy (and I reccomend NOT doing this, its quite hacky) you could always use:
finalString = [firstString stringByReplacingOccurancesOfString:#"£" withString:#"£"];
The problem seems to have solved itself on its own. I couldn't reproduce it on either iOS 4 or iOS 5, nor could several other users I spoke with. Upon checking with the user who initially reported the problem, she said that after upgrading iOS from 5.1 to 5.1.1, the problem went away. Oh well... :)
I'm following the Apple's guideline to make the screenshots needed for an app.
The thing is that no matter what I do inside the accepted variations, the screenshots
are being displayed with a little blur in the app store when browsing via iPad, but in the web store the look fine.
After some observations and research, this is not happening to my screenshots only, there are a lot of apps that suffer the same issue and the common factor seems to be: letters. When screenshots only display graphics or photos they look fine everywhere, but if your screenshots involves, i.e.: a simple table with text, the blurry effect appears.
Any ideas how can I avoid this? Anybody knows any details about how this screenshots are treated by apple to make the store versions?
Thanks in advance.
Try taking the screen shot yourself (pressing Home button and Power button at same time). Then email yourself the photos and upload through iTunes Connect. I use a tableview for one of my app screenshots and it comes out looking fine.
Somebody please help me out. This problem is killing me.
I went through tones of documents and posts. All seems to suggest that simply add a UIFileSharing key into info.plist and set boolean value to YES, files in App's Documents folder (not sub-folder, I know) will show up in iTunes.
However my problem is that I don't have an iPhone, so I really have no clue about what exactly the behaviors of both iPhone or iTunes will be when try to verify this file sharing thing. And what is the right way to verify this.
So when my client try to verify this off my watch (we are on different sides of earth), he keeps reporting back that file sharing feature not work. It is certain that file is properly stored under Documents folder.
In the last attempt, he claimed that he can see the app but not files.
I would like to know the following things, so I can guide him through this and end this pain:
Is it really plain and simple like add one key, no changes to code needed? Or did I miss something?
Are there any special requirements for building (like, only work for release build?), deploying?
What will really happen when plug the iPhone into the computer and sync with iTunes? Will the app show up in the Apps tab anyway, or only show up if file sharing feature are enabled correctly?
Thank you all.
Is it really plain and simple like add one key, no changes to code needed? Or did I miss something?
Yes
Are there any special requirements for building (like, only work for release build?), deploying?
No
What will really happen when plug the iPhone into the computer and sync with iTunes? Will the app show up in the Apps tab anyway, or only show up if file sharing feature are enabled correctly?
It will show up in the app view (on top) all the times. But you will only see them in the file sharing area if you have an app with enabled filesharing.
File sharing is only available on iPhone OS 4 onwards and iPad 3.2
Make sure your client has iOS4 or later.
I am working on a project where the iPad will be used for a specific purpose, and only run one app. When the device starts up, I want my app to run, and I want to override the home button so that it does not quit the app (like the iPhone/ iPod demos in the store).
I have seen bits and pieces of this functionality, but am unsure how to implement it. I realize that it would have to be on a jailbroken device, and the client is fine with that.
Any ideas?
Thanks!
Thomas
Edit 1: I found this site, which explains some iOS daemons. I'm still researching, so I'll just keep posting what I find.
Edit 2: I found Saurik's IRC channel and asked around in there. One of the participants told me that it is possible, but probably not as simple as I thought. I am still doing some digging around in the iPhone 3G filesystem now just to get the feel of what certain things do.
The project has been scrapped, but I'm still looking for help on this though....just cuz I'm interested lol.
Here's my progress on the issue. Question's still not completely answered, but I'm making some headway :-)
I've been researching Jailbreak and the iOS filesystem as well. That has helped my understanding of the issue some.
Without jailbreaking this would not be possible.
There has to be something in /etc somewhere that runs through all the things that start up, just like on Linux.
It so happens that my current ipod touch has a WALD screen after me manually deleting a few mp3 files. Some anti mp3 mocking code policing it, and not liking me touching the mp3 file structures... otherwise I'd look for you right now.
Do you know how to ssh into your ipod/iphone?
Well, I believe Apple itself uses this on the iPads running at the Apple Stores (those showing animations about the products where you can ask to talk with a blue shirt).
I would look for something on the official IPCU (iPhone Configuration Utility) to check if there is an option for auto-loading apps on boot time.
If not, try to get friends with someone working on an Apple Store and get some hints on how they run their app on those iPads.
you can add the "voip" key in the information plist.
This is backed up by Apple:
You can also see this sample project:
https://github.com/lithium3141/BootLaunch
PB.