This is to record the issues that i faces during development
Errors
01. when i type "ionic emulate ios", i got the error below :
simctl was not found.
Check that you have Xcode 6.x installed:
xcodebuild --versionCheck that you have Xcode 6.x selected:
xcode-select --print-path
Solution : open Terminal, type "npm update -g ios-sim"
02. image is not able to display while "ionic emulate ios", and my image is located at www\img.
Solution : make sure the image src syntax is "./img/{imagename}" instead of "img/{imagename}"
03. Currently, i'm working on a simple app. which generated from "Ionic Start MyApp Tabs"
I have included admob plugin to this apps, and i want to make the admob only appear in 1 controller,
e.g ChatDetail
i have been working for fews day, get achieve what i want,
i tried on "override Nav-Back-Button" event, it works, but the code looks messy
finally, i got a simple way to make it work, using "$ionicView.beforeLeave"
04. update ionic project library
1.Download latest ionic by using
npm install -g ionic
2. Goto the root of your project and run this command
ionic lib update