Post not yet marked as solved
Hi
my project outline is,
I will be given one or more toys.
I need to include few music files in my project.
I need to place a toy on the display of an iPhone.
Based upon the toy placed I need to run a music file..
if I place toy1 , need to play music file1.
if I place toy2 , need to play music file2 etc....
Is this kind of app possible in iPhone?
what are the things need to be considered?
Post not yet marked as solved
Hi
Thanks for your reply.
Don't want to detect from image...
if an object like toy is placed on the display of an iPhone, our app need to the detect the object(toy) and we need do further action depending upon the toy detected...
Thanks
I put #import "MyProjectName-Swift.h" in .m file.
Added at line No 3 as shown below
line no 1 : #import "abcd.h"
line no 2 : @import ***;
line no 3 : #import "MyProjectName-Swift.h"
Now i replaced it in first line and the errors disappeared.
Working fine...It saved my day.
Thanks a lot OOPer
Hi,
Thanks for your reply.
Yes. i have difficulty in adding new swift file in my project.
Once i add a new swift view controller in my objective C Project, it asked me to add bridging file.
I added it.
And then , I imported "MyProjectName-Swift.h" in my ObjectiveC File.
When i build the project, it fails and shows errors
" '#pragma clang attribute pop' with no matching '#pragma clang attribute push' "
" Expected 'language' , 'definedin' or generatedDeclaration " in "MyProjectName-Swift.h"
Pls help to solve this issue
Hi,That is not the exact text..There is line feed at the end of attributed String.i got solution by removing it.Thanks a lot Claude31
Hi Claude31, Thank you very much for your support and the solution works for me.
Hi,Sample String : " Starting String ➖ end String " ( hypen not required in the circle).i will get the color of the circle from api.According to the color received from api, i need to change the color of the circle.
Hi, I dont want to attach an image in attributed string.As the color code of the circle comes from api,i need to attach a label and i need to set the backgorund color of the label with the color comes from api.How to acheive this?
Hi, i need to create a string with a colored circle before it.I know that we can attach an image with an attributed string.So i thought to create an attributed string with a label.Is it possible?
Post not yet marked as solved
Hi All, Thank you all for your valuable support. My date format is DD/MM/YYYY HH:mm. How to prevent deleting slash and colon and to provide valid/handle date?
HiI put this code in a separate swift file.I didnt implement anything in applicationWillEnterForeground and in applicationDidBecomeActive.when app moves to background and after few seconds when it comes to foreground,my webApi call is failed.By surfing the internet i understood that ,after app moves to background,and with in few more seconds it will beforcibly moved to suspened state.So my webApi call failed.How to make my webApi call to get success even when app goes to background state?
Hi Claude31, Thanks a lot for your support
Hi Claude31, I was instructed to find an alternate for background app refresh .So that i am searching whether alternate is available or not?if no alternate , i think then i can use background app refresh.Your suggestion Please.
Hi Claude31, I can use that. But I need to know whether any other alternative way is there to acheive the goal.
Hi Claude31, Thank you very much for your support.