We provide complete mobile and web apps development solutions

Friday, January 31, 2014

Show Notification Banner in IOS

If the ios app is running in the background, it won't show the notification banner, this is by design. But if you want to show the custom banner in the status bar whether the application in foreground or in the background, you can show the  banner.

  UILocalNotification *localNotification = [[UILocalNotification alloc] init];
        localNotification.userInfo = userInfo;
        localNotification.soundName = UILocalNotificationDefaultSoundName;
        localNotification.alertBody = @"test";
        localNotification.fireDate = [NSDate date];
        [[UIApplication sharedApplication] scheduleLocalNotification:localNotification];


Friday, January 24, 2014

This error occurred during compiling... phone gap push notification

Undefined symbols for architecture armv7s:
  "_OBJC_METACLASS_$_CDVPlugin", referenced from:
      _OBJC_METACLASS_$_PushNotification in PushNotification-F9383623544E8079.o
  "_OBJC_CLASS_$_CDVPluginResult", referenced from:
      objc-class-ref in PushNotification-F9383623544E8079.o
  "_OBJC_METACLASS_$_CDVViewController", referenced from:
      _OBJC_METACLASS_$_MainViewController in MainViewController.o
  "_OBJC_CLASS_$_CDVPlugin", referenced from:
      _OBJC_CLASS_$_PushNotification in PushNotification-F9383623544E8079.o
  "_OBJC_CLASS_$_CDVViewController", referenced from:
      _OBJC_CLASS_$_MainViewController in MainViewController.o
ld: symbol(s) not found for architecture armv7s

clang: error: linker command failed with exit code 1 (use -v to see invocation)

ios this error is getting when i run the app.

compilation is success but giving this error, when i run on the device

dyld: could not load inserted library '/Developer/usr/lib/libXcodeDebuggerSupport.dylib' because image not found

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts